home *** CD-ROM | disk | FTP | other *** search
/ Power Tools for Macintosh / Power Tools for Macintosh (SoftBit)(1992).iso / Stacks / *A-E / Better Grouper Stack < prev    next >
MacBinary  |  1993-06-22  |  66.0 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Tue Jun 1 11:24:23 1993, modified Tue Jun 22 04:04:09 1993, creator HyperCard, type HyperCard stack, 38464 bytes "Better Grouper Stack" , at 0x96c0 28827 bytes resource default (weak)
99% file data default
49% TrID Mac HyperCard stack (MacBinary) default
33% TrID raw Group 3 FAX bitmap default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 42 65 74 74 65 72 | 20 47 72 6f 75 70 65 72 |..Better| Grouper|
|00000010| 20 53 74 61 63 6b 00 00 | 00 00 00 00 00 00 00 00 | Stack..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 96 40 00 | 00 70 9b a8 31 25 27 a8 |......@.|.p..1%'.|
|00000060| 4c 6d 79 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |Lmy.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 58 90 00 00 |........|....X...|
|00000080| 00 00 5c 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..\.STAK|........|
|00000090| 00 00 00 0a 00 00 96 40 | 00 00 5c 00 00 00 00 00 |.......@|..\.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a b1 00 00 00 03 |........|........|
|000000b0| 00 00 0b 7d 00 00 09 df | 00 00 00 00 00 00 00 00 |...}....|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| d9 73 bd ab 00 00 00 00 | 01 54 04 90 02 aa 06 90 |.s......|.T......|
|00000100| 01 30 04 80 03 10 07 00 | 00 00 00 00 00 00 00 00 |.0......|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 3d 00 00 0c 0d | 01 56 02 00 00 00 00 00 |...=....|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 4e 4f 54 45 3a | 20 62 6f 6f 6b 4d 61 72 |-- NOTE:| bookMar|
|00000690| 6b 2c 33 0d a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |k,3.....|........|
|000006a0| a5 a5 a5 20 22 42 45 54 | 54 45 52 20 47 52 4f 55 |... "BET|TER GROU|
|000006b0| 50 45 52 22 20 48 41 4e | 44 4c 45 52 53 20 20 a5 |PER" HAN|DLERS .|
|000006c0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000006d0| a5 a5 a5 0d 0d 2d 2d 20 | 53 63 72 69 70 74 73 20 |.....-- |Scripts |
|000006e0| 62 79 20 43 68 72 69 73 | 20 59 6f 75 6e 67 3b 20 |by Chris| Young; |
|000006f0| 36 2f 39 33 0d 0d 6f 6e | 20 67 72 6f 75 70 4f 62 |6/93..on| groupOb|
|00000700| 6a 73 0d 2d 2d 20 54 6f | 20 67 72 6f 75 70 20 6f |js.-- To| group o|
|00000710| 62 6a 65 63 74 73 3a 20 | 66 6f 72 20 65 76 65 72 |bjects: |for ever|
|00000720| 79 20 6f 62 6a 65 63 74 | 2c 20 70 72 65 70 65 6e |y object|, prepen|
|00000730| 64 20 62 65 66 6f 72 65 | 20 69 74 73 20 73 63 72 |d before| its scr|
|00000740| 69 70 74 20 61 20 6d 6f | 75 73 65 55 70 20 68 61 |ipt a mo|useUp ha|
|00000750| 6e 64 6c 65 72 20 77 68 | 69 63 68 20 72 65 74 75 |ndler wh|ich retu|
|00000760| 72 6e 73 0d 2d 2d 20 28 | 76 69 61 20 74 68 65 20 |rns.-- (|via the |
|00000770| 6d 65 73 73 61 67 65 20 | 62 6f 78 29 20 74 68 65 |message |box) the|
|00000780| 20 6f 62 6a 65 63 74 27 | 73 20 49 44 2e 0d 2d 2d | object'|s ID..--|
|00000790| 20 41 6c 73 6f 2c 20 61 | 6e 20 65 6d 70 74 79 20 | Also, a|n empty |
|000007a0| 6d 6f 75 73 65 44 6f 77 | 6e 20 68 61 6e 64 6c 65 |mouseDow|n handle|
|000007b0| 72 20 74 72 61 70 73 20 | 74 68 65 20 6d 6f 75 73 |r traps |the mous|
|000007c0| 65 44 6f 77 6e 20 66 72 | 6f 6d 20 74 68 65 20 63 |eDown fr|om the c|
|000007d0| 6c 69 63 6b 2e 0d 2d 2d | 20 54 68 65 73 65 20 70 |lick..--| These p|
|000007e0| 72 65 70 65 6e 64 65 64 | 20 68 61 6e 64 6c 65 72 |repended| handler|
|000007f0| 73 20 61 72 65 20 61 6c | 73 6f 20 75 73 65 64 20 |s are al|so used |
|00000800| 6c 61 74 65 72 20 74 6f | 20 64 65 74 65 72 6d 69 |later to| determi|
|00000810| 6e 65 20 74 68 65 20 6f | 72 64 65 72 20 6f 66 20 |ne the o|rder of |
|00000820| 74 68 65 20 6f 62 6a 65 | 63 74 73 2c 20 62 79 20 |the obje|cts, by |
|00000830| 61 6c 69 67 6e 69 6e 67 | 0d 2d 2d 20 74 68 65 69 |aligning|.-- thei|
|00000840| 72 20 63 65 6e 74 65 72 | 73 20 61 6e 64 20 64 6f |r center|s and do|
|00000850| 69 6e 67 20 73 75 63 63 | 65 73 73 69 76 65 20 73 |ing succ|essive s|
|00000860| 63 72 69 70 74 65 64 20 | 63 6f 6d 6d 61 6e 64 2d |cripted |command-|
|00000870| 63 6c 69 63 6b 73 20 61 | 74 20 74 68 65 69 72 20 |clicks a|t their |
|00000880| 63 65 6e 74 65 72 2d 70 | 6f 69 6e 74 73 2e 0d 2d |center-p|oints..-|
|00000890| 2d 2d 2d 0d 67 6c 6f 62 | 61 6c 20 67 50 54 5f 47 |---.glob|al gPT_G|
|000008a0| 72 6f 75 70 65 64 4f 62 | 6a 73 2c 20 67 50 54 5f |roupedOb|js, gPT_|
|000008b0| 4e 75 6d 4f 62 6a 73 49 | 6e 47 72 6f 75 70 2c 20 |NumObjsI|nGroup, |
|000008c0| 67 50 54 5f 57 68 65 72 | 65 54 68 65 47 72 6f 75 |gPT_Wher|eTheGrou|
|000008d0| 70 49 73 0d 67 6c 6f 62 | 61 6c 20 67 50 54 5f 47 |pIs.glob|al gPT_G|
|000008e0| 72 6f 75 70 65 64 4f 62 | 6a 73 42 61 63 6b 54 6f |roupedOb|jsBackTo|
|000008f0| 46 72 6f 6e 74 2c 20 67 | 50 54 5f 47 72 6f 75 70 |Front, g|PT_Group|
|00000900| 65 64 4f 62 6a 73 43 6c | 69 63 6b 4f 72 64 65 72 |edObjsCl|ickOrder|
|00000910| 0d 67 6c 6f 62 61 6c 20 | 67 50 54 5f 47 72 6f 75 |.global |gPT_Grou|
|00000920| 70 65 64 4f 62 6a 73 4c | 65 66 74 54 6f 52 74 2c |pedObjsL|eftToRt,|
|00000930| 20 67 50 54 5f 47 72 6f | 75 70 65 64 4f 62 6a 73 | gPT_Gro|upedObjs|
|00000940| 54 6f 70 54 6f 42 6f 74 | 0d 0d 2d 2d 20 47 72 6f |TopToBot|..-- Gro|
|00000950| 75 70 65 64 4f 62 6a 73 | 20 61 6c 77 61 79 73 20 |upedObjs| always |
|00000960| 67 65 74 73 20 66 69 6c | 6c 65 64 20 69 6e 2e 20 |gets fil|led in. |
|00000970| 20 4f 74 68 65 72 73 20 | 6d 61 79 20 62 65 20 65 | Others |may be e|
|00000980| 6d 70 74 79 3a 20 65 2e | 67 2e 2c 20 47 72 6f 75 |mpty: e.|g., Grou|
|00000990| 70 65 64 4f 62 6a 73 43 | 6c 69 63 6b 4f 72 64 65 |pedObjsC|lickOrde|
|000009a0| 72 0d 2d 2d 20 77 69 6c | 6c 20 62 65 20 65 6d 70 |r.-- wil|l be emp|
|000009b0| 74 79 20 69 66 20 74 68 | 65 20 6f 62 6a 65 63 74 |ty if th|e object|
|000009c0| 73 20 77 65 72 65 20 67 | 72 6f 75 70 65 64 20 77 |s were g|rouped w|
|000009d0| 69 74 68 20 61 20 73 65 | 6c 65 63 74 69 6f 6e 20 |ith a se|lection |
|000009e0| 72 65 63 74 61 6e 67 6c | 65 2e 0d 2d 2d 20 46 6f |rectangl|e..-- Fo|
|000009f0| 72 20 64 75 70 6c 69 63 | 61 74 69 6e 67 20 6f 62 |r duplic|ating ob|
|00000a00| 6a 65 63 74 73 2c 20 77 | 65 27 72 65 20 69 6e 74 |jects, w|e're int|
|00000a10| 65 72 65 73 74 65 64 20 | 69 6e 20 74 68 65 69 72 |erested |in their|
|00000a20| 20 62 61 63 6b 2d 74 6f | 2d 66 72 6f 6e 74 20 6f | back-to|-front o|
|00000a30| 72 64 65 72 3b 20 20 66 | 6f 72 20 73 70 61 63 69 |rder; f|or spaci|
|00000a40| 6e 67 2c 20 77 65 27 72 | 65 20 69 6e 74 65 72 65 |ng, we'r|e intere|
|00000a50| 73 74 65 64 0d 2d 2d 20 | 69 6e 20 74 68 65 20 6f |sted.-- |in the o|
|00000a60| 72 64 65 72 20 74 68 65 | 79 20 77 65 72 65 20 63 |rder the|y were c|
|00000a70| 6c 69 63 6b 65 64 20 69 | 6e 2e 0d 2d 2d 2d 2d 0d |licked i|n..----.|
|00000a80| 73 65 74 20 63 61 6e 74 | 41 62 6f 72 74 20 6f 66 |set cant|Abort of|
|00000a90| 20 74 68 69 73 20 73 74 | 61 63 6b 20 74 6f 20 74 | this st|ack to t|
|00000aa0| 72 75 65 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |rue.put |empty in|
|00000ab0| 74 6f 20 67 72 70 64 4f | 62 6a 73 0d 70 75 74 20 |to grpdO|bjs.put |
|00000ac0| 74 68 65 20 6f 70 74 69 | 6f 6e 4b 65 79 20 69 73 |the opti|onKey is|
|00000ad0| 20 64 6f 77 6e 20 69 6e | 74 6f 20 6f 70 74 5f 64 | down in|to opt_d|
|00000ae0| 6f 77 6e 0d 70 75 74 20 | 66 61 6c 73 65 20 69 6e |own.put |false in|
|00000af0| 74 6f 20 72 65 63 74 5f | 73 65 6c 65 63 74 20 20 |to rect_|select |
|00000b00| 20 20 20 2d 2d 20 73 65 | 74 20 74 6f 20 74 72 75 | -- se|t to tru|
|00000b10| 65 20 69 66 20 61 6e 79 | 74 68 69 6e 67 20 61 63 |e if any|thing ac|
|00000b20| 74 75 61 6c 6c 79 20 73 | 65 6c 65 63 74 65 64 20 |tually s|elected |
|00000b30| 77 69 74 68 20 72 65 63 | 74 20 73 65 6c 65 63 74 |with rec|t select|
|00000b40| 69 6f 6e 20 6d 65 74 68 | 6f 64 3b 20 75 73 65 64 |ion meth|od; used|
|00000b50| 0d 2d 2d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.-- | |
|00000b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b70| 20 20 20 20 20 20 20 20 | 20 2d 2d 20 61 73 20 66 | | -- as f|
|00000b80| 6c 61 67 20 74 6f 20 63 | 6c 65 61 72 20 6f 6c 64 |lag to c|lear old|
|00000b90| 20 47 72 6f 75 70 65 64 | 4f 62 6a 73 4c 65 66 74 | Grouped|ObjsLeft|
|00000ba0| 54 6f 52 74 2c 20 47 72 | 6f 75 70 65 64 4f 62 6a |ToRt, Gr|oupedObj|
|00000bb0| 73 54 6f 70 54 6f 42 6f | 74 0d 70 75 74 20 6d 73 |sTopToBo|t.put ms|
|00000bc0| 67 20 69 6e 74 6f 20 73 | 61 76 65 64 4d 73 67 0d |g into s|avedMsg.|
|00000bd0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00000be0| 74 63 68 0d 70 75 74 20 | 72 65 74 75 72 6e 20 69 |tch.put |return i|
|00000bf0| 6e 74 6f 20 43 52 0d 0d | 70 75 74 20 c2 0d 22 6f |nto CR..|put .."o|
|00000c00| 6e 20 6d 6f 75 73 65 44 | 6f 77 6e 22 20 26 20 43 |n mouseD|own" & C|
|00000c10| 52 20 26 20 c2 0d 22 65 | 6e 64 20 6d 6f 75 73 65 |R & .."e|nd mouse|
|00000c20| 44 6f 77 6e 22 20 26 20 | 43 52 20 26 20 c2 0d 43 |Down" & |CR & ..C|
|00000c30| 52 20 26 20 c2 0d 22 6f | 6e 20 6d 6f 75 73 65 53 |R & .."o|n mouseS|
|00000c40| 74 69 6c 6c 44 6f 77 6e | 22 20 26 20 43 52 20 26 |tillDown|" & CR &|
|00000c50| 20 c2 0d 22 65 6e 64 20 | 6d 6f 75 73 65 53 74 69 | .."end |mouseSti|
|00000c60| 6c 6c 44 6f 77 6e 22 20 | 26 20 43 52 20 26 20 c2 |llDown" |& CR & .|
|00000c70| 0d 43 52 20 26 20 c2 0d | 22 6f 6e 20 6d 6f 75 73 |.CR & ..|"on mous|
|00000c80| 65 55 70 22 20 26 20 43 | 52 20 26 20 c2 0d 22 20 |eUp" & C|R & .." |
|00000c90| 20 70 75 74 20 77 6f 72 | 64 20 31 20 74 6f 20 32 | put wor|d 1 to 2|
|00000ca0| 20 6f 66 20 6e 61 6d 65 | 20 6f 66 20 6d 65 20 26 | of name| of me &|
|00000cb0| 20 22 20 26 20 71 75 6f | 74 65 20 26 20 22 20 69 | " & quo|te & " i|
|00000cc0| 64 20 22 20 26 20 71 75 | 6f 74 65 20 26 20 22 20 |d " & qu|ote & " |
|00000cd0| 26 20 69 64 20 6f 66 20 | 6d 65 20 26 20 72 65 74 |& id of |me & ret|
|00000ce0| 75 72 6e 20 69 6e 74 6f | 20 6d 73 67 22 20 26 20 |urn into| msg" & |
|00000cf0| 43 52 20 26 20 c2 0d 22 | 65 6e 64 20 6d 6f 75 73 |CR & .."|end mous|
|00000d00| 65 55 70 22 20 26 20 43 | 52 20 26 20 c2 0d 43 52 |eUp" & C|R & ..CR|
|00000d10| 20 c2 0d 69 6e 74 6f 20 | 6e 65 77 48 6e 64 6c 72 | ..into |newHndlr|
|00000d20| 73 0d 70 75 74 20 6e 75 | 6d 62 65 72 20 6f 66 20 |s.put nu|mber of |
|00000d30| 6c 69 6e 65 73 20 69 6e | 20 6e 65 77 48 6e 64 6c |lines in| newHndl|
|00000d40| 72 73 20 69 6e 74 6f 20 | 6e 75 6d 4c 6e 73 0d 0d |rs into |numLns..|
|00000d50| 2d 2d 20 50 75 74 20 6f | 75 72 20 68 61 6e 64 6c |-- Put o|ur handl|
|00000d60| 65 72 73 20 62 65 66 6f | 72 65 20 74 68 65 20 73 |ers befo|re the s|
|00000d70| 63 72 69 70 74 73 20 6f | 66 20 61 6c 6c 20 6f 62 |cripts o|f all ob|
|00000d80| 6a 65 63 74 73 3a 0d 0d | 72 65 70 65 61 74 20 77 |jects:..|repeat w|
|00000d90| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 6e 75 6d |ith i = |1 to num|
|00000da0| 62 65 72 20 6f 66 20 62 | 74 6e 73 0d 73 65 74 20 |ber of b|tns.set |
|00000db0| 73 63 72 69 70 74 20 6f | 66 20 62 74 6e 20 69 20 |script o|f btn i |
|00000dc0| 74 6f 20 6e 65 77 48 6e | 64 6c 72 73 20 26 20 73 |to newHn|dlrs & s|
|00000dd0| 63 72 69 70 74 20 6f 66 | 20 62 74 6e 20 69 0d 65 |cript of| btn i.e|
|00000de0| 6e 64 20 72 65 70 65 61 | 74 0d 72 65 70 65 61 74 |nd repea|t.repeat|
|00000df0| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 6e | with i |= 1 to n|
|00000e00| 75 6d 62 65 72 20 6f 66 | 20 63 64 20 66 6c 64 73 |umber of| cd flds|
|00000e10| 0d 73 65 74 20 73 63 72 | 69 70 74 20 6f 66 20 63 |.set scr|ipt of c|
|00000e20| 64 20 66 6c 64 20 69 20 | 74 6f 20 6e 65 77 48 6e |d fld i |to newHn|
|00000e30| 64 6c 72 73 20 26 20 73 | 63 72 69 70 74 20 6f 66 |dlrs & s|cript of|
|00000e40| 20 63 64 20 66 6c 64 20 | 69 0d 65 6e 64 20 72 65 | cd fld |i.end re|
|00000e50| 70 65 61 74 0d 72 65 70 | 65 61 74 20 77 69 74 68 |peat.rep|eat with|
|00000e60| 20 69 20 3d 20 31 20 74 | 6f 20 6e 75 6d 62 65 72 | i = 1 t|o number|
|00000e70| 20 6f 66 20 62 67 20 62 | 74 6e 73 0d 73 65 74 20 | of bg b|tns.set |
|00000e80| 73 63 72 69 70 74 20 6f | 66 20 62 67 20 62 74 6e |script o|f bg btn|
|00000e90| 20 69 20 74 6f 20 6e 65 | 77 48 6e 64 6c 72 73 20 | i to ne|wHndlrs |
|00000ea0| 26 20 73 63 72 69 70 74 | 20 6f 66 20 62 67 20 62 |& script| of bg b|
|00000eb0| 74 6e 20 69 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |tn i.end| repeat.|
|00000ec0| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00000ed0| 31 20 74 6f 20 6e 75 6d | 62 65 72 20 6f 66 20 66 |1 to num|ber of f|
|00000ee0| 6c 64 73 0d 73 65 74 20 | 73 63 72 69 70 74 20 6f |lds.set |script o|
|00000ef0| 66 20 66 6c 64 20 69 20 | 74 6f 20 6e 65 77 48 6e |f fld i |to newHn|
|00000f00| 64 6c 72 73 20 26 20 73 | 63 72 69 70 74 20 6f 66 |dlrs & s|cript of|
|00000f10| 20 66 6c 64 20 69 0d 65 | 6e 64 20 72 65 70 65 61 | fld i.e|nd repea|
|00000f20| 74 0d 0d 69 66 20 6f 70 | 74 5f 64 6f 77 6e 20 74 |t..if op|t_down t|
|00000f30| 68 65 6e 20 20 20 20 20 | 20 20 20 20 2d 2d 20 53 |hen | -- S|
|00000f40| 65 6c 65 63 74 20 77 69 | 74 68 20 73 65 6c 65 63 |elect wi|th selec|
|00000f50| 74 69 6f 6e 20 72 65 63 | 74 61 6e 67 6c 65 0d 61 |tion rec|tangle.a|
|00000f60| 6e 73 77 65 72 20 22 50 | 6c 65 61 73 65 20 64 72 |nswer "P|lease dr|
|00000f70| 61 67 20 61 20 62 6f 78 | 20 61 72 6f 75 6e 64 20 |ag a box| around |
|00000f80| 74 68 65 20 62 75 74 74 | 6f 6e 73 20 61 6e 64 20 |the butt|ons and |
|00000f90| 66 69 65 6c 64 73 20 79 | 6f 75 20 77 61 6e 74 20 |fields y|ou want |
|00000fa0| 67 72 6f 75 70 65 64 2e | 22 20 26 20 43 52 20 26 |grouped.|" & CR &|
|00000fb0| 20 c2 0d 22 43 6c 69 63 | 6b 20 d2 48 69 64 64 65 | .."Clic|k .Hidde|
|00000fc0| 6e d3 20 66 6f 72 20 68 | 69 64 64 65 6e 20 6f 62 |n. for h|idden ob|
|00000fd0| 6a 65 63 74 73 20 6f 6e | 6c 79 2c 20 d2 56 69 73 |jects on|ly, .Vis|
|00000fe0| 69 62 6c 65 d3 20 66 6f | 72 20 76 69 73 69 62 6c |ible. fo|r visibl|
|00000ff0| 65 20 6f 6e 6c 79 2c 20 | d2 41 6c 6c d3 20 66 6f |e only, |.All. fo|
|00001000| 72 20 62 6f 74 68 2e 22 | 20 26 20 43 52 20 26 20 |r both."| & CR & |
|00001010| c2 0d 22 54 79 70 65 20 | 11 2d 2e 20 74 6f 20 65 |.."Type |.-. to e|
|00001020| 78 69 74 2e 22 20 77 69 | 74 68 20 22 41 6c 6c 22 |xit." wi|th "All"|
|00001030| 2c 20 22 48 69 64 64 65 | 6e 22 2c 20 22 56 69 73 |, "Hidde|n", "Vis|
|00001040| 69 62 6c 65 22 0d 70 75 | 74 20 66 61 6c 73 65 20 |ible".pu|t false |
|00001050| 69 6e 74 6f 20 69 73 5f | 65 78 69 74 0d 69 66 20 |into is_|exit.if |
|00001060| 69 74 20 3d 20 22 41 6c | 6c 22 20 74 68 65 6e 20 |it = "Al|l" then |
|00001070| 70 75 74 20 22 74 72 75 | 65 2c 66 61 6c 73 65 22 |put "tru|e,false"|
|00001080| 20 69 6e 74 6f 20 76 69 | 73 54 79 70 65 73 0d 65 | into vi|sTypes.e|
|00001090| 6c 73 65 20 69 66 20 69 | 74 20 3d 20 22 48 69 64 |lse if i|t = "Hid|
|000010a0| 64 65 6e 22 20 74 68 65 | 6e 20 70 75 74 20 22 66 |den" the|n put "f|
|000010b0| 61 6c 73 65 22 20 69 6e | 74 6f 20 76 69 73 54 79 |alse" in|to visTy|
|000010c0| 70 65 73 0d 65 6c 73 65 | 20 69 66 20 69 74 20 3d |pes.else| if it =|
|000010d0| 20 22 56 69 73 69 62 6c | 65 22 20 74 68 65 6e 20 | "Visibl|e" then |
|000010e0| 70 75 74 20 22 74 72 75 | 65 22 20 69 6e 74 6f 20 |put "tru|e" into |
|000010f0| 76 69 73 54 79 70 65 73 | 0d 69 66 20 69 74 20 69 |visTypes|.if it i|
|00001100| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00001110| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 72 |.put tru|e into r|
|00001120| 65 63 74 5f 73 65 6c 65 | 63 74 0d 70 75 74 20 41 |ect_sele|ct.put A|
|00001130| 6e 74 73 28 29 20 69 6e | 74 6f 20 73 65 6c 65 63 |nts() in|to selec|
|00001140| 74 52 65 63 74 0d 70 75 | 74 20 6f 62 6a 73 49 6e |tRect.pu|t objsIn|
|00001150| 52 65 63 74 28 73 65 6c | 65 63 74 52 65 63 74 2c |Rect(sel|ectRect,|
|00001160| 20 76 69 73 54 79 70 65 | 73 29 20 69 6e 74 6f 20 | visType|s) into |
|00001170| 67 72 70 64 4f 62 6a 73 | 0d 65 6e 64 20 69 66 0d |grpdObjs|.end if.|
|00001180| 0d 65 6c 73 65 0d 2d 2d | 20 47 65 74 20 74 68 65 |.else.--| Get the|
|00001190| 20 67 72 6f 75 70 65 64 | 20 6f 62 6a 65 63 74 73 | grouped| objects|
|000011a0| 20 69 6e 20 74 68 65 20 | 6f 72 64 65 72 20 74 68 | in the |order th|
|000011b0| 65 20 75 73 65 72 20 63 | 6c 69 63 6b 73 20 6f 6e |e user c|licks on|
|000011c0| 20 74 68 65 6d 3a 0d 0d | 63 68 6f 6f 73 65 20 62 | them:..|choose b|
|000011d0| 72 6f 77 73 65 20 74 6f | 6f 6c 0d 73 65 74 20 63 |rowse to|ol.set c|
|000011e0| 75 72 73 6f 72 20 74 6f | 20 70 6c 75 73 0d 70 75 |ursor to| plus.pu|
|000011f0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 67 72 70 |t empty |into grp|
|00001200| 64 4f 62 6a 73 0d 70 75 | 74 20 65 6d 70 74 79 20 |dObjs.pu|t empty |
|00001210| 69 6e 74 6f 20 6d 73 67 | 0d 72 65 70 65 61 74 0d |into msg|.repeat.|
|00001220| 69 66 20 74 68 65 20 6d | 6f 75 73 65 43 6c 69 63 |if the m|ouseClic|
|00001230| 6b 20 74 68 65 6e 0d 63 | 6c 69 63 6b 20 61 74 20 |k then.c|lick at |
|00001240| 74 68 65 20 63 6c 69 63 | 6b 4c 6f 63 20 77 69 74 |the clic|kLoc wit|
|00001250| 68 20 63 6d 64 4b 65 79 | 20 20 20 20 20 20 20 20 |h cmdKey| |
|00001260| 2d 2d 20 75 73 65 20 63 | 6f 6d 6d 61 6e 64 20 6b |-- use c|ommand k|
|00001270| 65 79 20 69 6e 20 63 61 | 73 65 20 69 74 27 73 20 |ey in ca|se it's |
|00001280| 61 6e 20 75 6e 6c 6f 63 | 6b 65 64 20 66 69 65 6c |an unloc|ked fiel|
|00001290| 64 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |d.set cu|rsor to |
|000012a0| 70 6c 75 73 0d 70 75 74 | 20 6d 73 67 20 69 6e 74 |plus.put| msg int|
|000012b0| 6f 20 6f 62 6a 49 44 0d | 69 66 20 6f 62 6a 49 44 |o objID.|if objID|
|000012c0| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 | is empt|y then e|
|000012d0| 78 69 74 20 72 65 70 65 | 61 74 0d 66 6c 61 73 68 |xit repe|at.flash|
|000012e0| 52 65 63 74 20 72 65 63 | 74 20 6f 66 20 6f 62 6a |Rect rec|t of obj|
|000012f0| 49 44 2c 20 31 30 0d 69 | 66 20 6f 62 6a 49 44 20 |ID, 10.i|f objID |
|00001300| 26 20 43 52 20 69 73 20 | 6e 6f 74 20 69 6e 20 67 |& CR is |not in g|
|00001310| 72 70 64 4f 62 6a 73 20 | 74 68 65 6e 20 70 75 74 |rpdObjs |then put|
|00001320| 20 6f 62 6a 49 44 20 26 | 20 43 52 20 61 66 74 65 | objID &| CR afte|
|00001330| 72 20 67 72 70 64 4f 62 | 6a 73 0d 70 75 74 20 65 |r grpdOb|js.put e|
|00001340| 6d 70 74 79 20 69 6e 74 | 6f 20 6d 73 67 0d 65 6e |mpty int|o msg.en|
|00001350| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|00001360| 70 75 74 20 67 72 70 64 | 4f 62 6a 73 20 69 6e 74 |put grpd|Objs int|
|00001370| 6f 20 67 50 54 5f 47 72 | 6f 75 70 65 64 4f 62 6a |o gPT_Gr|oupedObj|
|00001380| 73 43 6c 69 63 6b 4f 72 | 64 65 72 0d 65 6e 64 20 |sClickOr|der.end |
|00001390| 69 66 20 2d 2d 20 6f 70 | 74 69 6f 6e 4b 65 79 0d |if -- op|tionKey.|
|000013a0| 0d 2d 2d 20 46 6c 61 73 | 68 20 74 68 65 20 67 72 |.-- Flas|h the gr|
|000013b0| 6f 75 70 65 64 20 6f 62 | 6a 65 63 74 73 20 69 6e |ouped ob|jects in|
|000013c0| 20 74 68 65 20 6f 72 64 | 65 72 20 74 68 65 79 20 | the ord|er they |
|000013d0| 77 65 72 65 20 63 6c 69 | 63 6b 65 64 20 69 6e 2e |were cli|cked in.|
|000013e0| 0d 0d 75 6e 68 69 6c 69 | 74 65 42 47 50 61 6c 0d |..unhili|teBGPal.|
|000013f0| 0d 70 75 74 20 67 72 70 | 64 4f 62 6a 73 20 69 6e |.put grp|dObjs in|
|00001400| 74 6f 20 67 50 54 5f 47 | 72 6f 75 70 65 64 4f 62 |to gPT_G|roupedOb|
|00001410| 6a 73 0d 70 75 74 20 6e | 75 6d 62 65 72 20 6f 66 |js.put n|umber of|
|00001420| 20 6c 69 6e 65 73 20 69 | 6e 20 67 72 70 64 4f 62 | lines i|n grpdOb|
|00001430| 6a 73 20 69 6e 74 6f 20 | 67 50 54 5f 4e 75 6d 4f |js into |gPT_NumO|
|00001440| 62 6a 73 49 6e 47 72 6f | 75 70 0d 70 75 74 20 67 |bjsInGro|up.put g|
|00001450| 50 54 5f 4e 75 6d 4f 62 | 6a 73 49 6e 47 72 6f 75 |PT_NumOb|jsInGrou|
|00001460| 70 20 26 26 20 22 6f 62 | 6a 65 63 74 73 20 73 65 |p && "ob|jects se|
|00001470| 6c 65 63 74 65 64 2e 22 | 20 69 6e 74 6f 20 6d 73 |lected."| into ms|
|00001480| 67 0d 0d 69 66 20 67 50 | 54 5f 4e 75 6d 4f 62 6a |g..if gP|T_NumObj|
|00001490| 73 49 6e 47 72 6f 75 70 | 20 3e 20 30 20 74 68 65 |sInGroup| > 0 the|
|000014a0| 6e 0d 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |n..repea|t with i|
|000014b0| 20 3d 20 31 20 74 6f 20 | 67 50 54 5f 4e 75 6d 4f | = 1 to |gPT_NumO|
|000014c0| 62 6a 73 49 6e 47 72 6f | 75 70 0d 66 6c 61 73 68 |bjsInGro|up.flash|
|000014d0| 52 65 63 74 20 72 65 63 | 74 20 6f 66 20 6c 69 6e |Rect rec|t of lin|
|000014e0| 65 20 69 20 6f 66 20 67 | 72 70 64 4f 62 6a 73 2c |e i of g|rpdObjs,|
|000014f0| 20 31 30 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 0d | 10.end |repeat..|
|00001500| 70 75 74 20 74 68 65 20 | 6c 6f 6e 67 20 69 64 20 |put the |long id |
|00001510| 6f 66 20 74 68 69 73 20 | 63 64 20 69 6e 74 6f 20 |of this |cd into |
|00001520| 67 50 54 5f 57 68 65 72 | 65 54 68 65 47 72 6f 75 |gPT_Wher|eTheGrou|
|00001530| 70 49 73 20 20 20 20 2d | 2d 20 64 6f 6e 27 74 20 |pIs -|- don't |
|00001540| 63 6c 65 61 72 20 6f 6c | 64 20 67 72 6f 75 70 20 |clear ol|d group |
|00001550| 75 6e 6c 65 73 73 20 6e | 65 77 20 67 72 6f 75 70 |unless n|ew group|
|00001560| 20 69 73 20 61 63 74 75 | 61 6c 6c 20 73 65 6c 65 | is actu|all sele|
|00001570| 63 74 65 64 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |cted.put| empty i|
|00001580| 6e 74 6f 20 67 50 54 5f | 47 72 6f 75 70 65 64 4f |nto gPT_|GroupedO|
|00001590| 62 6a 73 42 61 63 6b 54 | 6f 46 72 6f 6e 74 0d 70 |bjsBackT|oFront.p|
|000015a0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 67 50 |ut empty| into gP|
|000015b0| 54 5f 47 72 6f 75 70 65 | 64 4f 62 6a 73 43 6c 69 |T_Groupe|dObjsCli|
|000015c0| 63 6b 4f 72 64 65 72 0d | 0d 69 66 20 72 65 63 74 |ckOrder.|.if rect|
|000015d0| 5f 73 65 6c 65 63 74 20 | ad 20 74 72 75 65 20 74 |_select |. true t|
|000015e0| 68 65 6e 20 20 20 20 2d | 2d 20 61 6e 79 20 6f 6c |hen -|- any ol|
|000015f0| 64 20 76 61 6c 75 65 73 | 20 69 6e 20 74 68 65 73 |d values| in thes|
|00001600| 65 20 67 6c 6f 62 61 6c | 73 20 61 72 65 20 6e 6f |e global|s are no|
|00001610| 77 20 6f 75 74 20 6f 66 | 20 64 61 74 65 0d 70 75 |w out of| date.pu|
|00001620| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 67 50 54 |t empty |into gPT|
|00001630| 5f 47 72 6f 75 70 65 64 | 4f 62 6a 73 4c 65 66 74 |_Grouped|ObjsLeft|
|00001640| 54 6f 52 74 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |ToRt.put| empty i|
|00001650| 6e 74 6f 20 67 50 54 5f | 47 72 6f 75 70 65 64 4f |nto gPT_|GroupedO|
|00001660| 62 6a 73 54 6f 70 54 6f | 42 6f 74 0d 65 6e 64 20 |bjsTopTo|Bot.end |
|00001670| 69 66 0d 0d 61 6e 73 77 | 65 72 20 22 46 69 6e 64 |if..answ|er "Find|
|00001680| 20 74 68 65 20 66 72 6f | 6e 74 20 74 6f 20 62 61 | the fro|nt to ba|
|00001690| 63 6b 20 6f 72 64 65 72 | 20 6f 66 20 74 68 65 20 |ck order| of the |
|000016a0| 62 75 74 74 6f 6e 73 20 | 61 6e 64 20 66 69 65 6c |buttons |and fiel|
|000016b0| 64 73 3f 20 20 28 49 6d | 70 6f 72 74 61 6e 74 20 |ds? (Im|portant |
|000016c0| 66 6f 72 20 64 75 70 6c | 69 63 61 74 69 6f 6e 2e |for dupl|ication.|
|000016d0| 29 22 20 77 69 74 68 20 | 22 59 65 73 22 2c 20 22 |)" with |"Yes", "|
|000016e0| 4e 6f 22 0d 0d 69 66 20 | 69 74 20 69 73 20 22 59 |No"..if |it is "Y|
|000016f0| 65 73 22 20 74 68 65 6e | 20 20 20 20 2d 2d 20 20 |es" then| -- |
|00001700| 48 69 64 65 20 61 6c 6c | 20 74 68 65 20 6f 62 6a |Hide all| the obj|
|00001710| 65 63 74 73 20 28 73 61 | 76 69 6e 67 20 74 68 65 |ects (sa|ving the|
|00001720| 20 22 76 69 73 69 62 6c | 65 22 20 73 65 74 74 69 | "visibl|e" setti|
|00001730| 6e 67 20 6f 66 20 65 61 | 63 68 20 66 69 72 73 74 |ng of ea|ch first|
|00001740| 29 3a 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 73 |):.lock |screen.s|
|00001750| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00001760| 63 68 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |ch.put e|mpty int|
|00001770| 6f 20 73 61 76 65 64 56 | 69 73 0d 72 65 70 65 61 |o savedV|is.repea|
|00001780| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00001790| 6e 75 6d 62 65 72 20 6f | 66 20 62 74 6e 73 0d 70 |number o|f btns.p|
|000017a0| 75 74 20 76 69 73 69 62 | 6c 65 20 6f 66 20 62 74 |ut visib|le of bt|
|000017b0| 6e 20 69 20 26 20 43 52 | 20 61 66 74 65 72 20 73 |n i & CR| after s|
|000017c0| 61 76 65 64 56 69 73 0d | 68 69 64 65 20 62 74 6e |avedVis.|hide btn|
|000017d0| 20 69 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 | i.end r|epeat.re|
|000017e0| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|000017f0| 74 6f 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 64 20 |to numbe|r of cd |
|00001800| 66 6c 64 73 0d 70 75 74 | 20 76 69 73 69 62 6c 65 |flds.put| visible|
|00001810| 20 6f 66 20 63 64 20 66 | 6c 64 20 69 20 26 20 43 | of cd f|ld i & C|
|00001820| 52 20 61 66 74 65 72 20 | 73 61 76 65 64 56 69 73 |R after |savedVis|
|00001830| 0d 68 69 64 65 20 63 64 | 20 66 6c 64 20 69 0d 65 |.hide cd| fld i.e|
|00001840| 6e 64 20 72 65 70 65 61 | 74 0d 72 65 70 65 61 74 |nd repea|t.repeat|
|00001850| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 6e | with i |= 1 to n|
|00001860| 75 6d 62 65 72 20 6f 66 | 20 62 67 20 62 74 6e 73 |umber of| bg btns|
|00001870| 0d 70 75 74 20 76 69 73 | 69 62 6c 65 20 6f 66 20 |.put vis|ible of |
|00001880| 62 67 20 62 74 6e 20 69 | 20 26 20 43 52 20 61 66 |bg btn i| & CR af|
|00001890| 74 65 72 20 73 61 76 65 | 64 56 69 73 0d 68 69 64 |ter save|dVis.hid|
|000018a0| 65 20 62 67 20 62 74 6e | 20 69 0d 65 6e 64 20 72 |e bg btn| i.end r|
|000018b0| 65 70 65 61 74 0d 72 65 | 70 65 61 74 20 77 69 74 |epeat.re|peat wit|
|000018c0| 68 20 69 20 3d 20 31 20 | 74 6f 20 6e 75 6d 62 65 |h i = 1 |to numbe|
|000018d0| 72 20 6f 66 20 66 6c 64 | 73 0d 70 75 74 20 76 69 |r of fld|s.put vi|
|000018e0| 73 69 62 6c 65 20 6f 66 | 20 66 6c 64 20 69 20 26 |sible of| fld i &|
|000018f0| 20 43 52 20 61 66 74 65 | 72 20 73 61 76 65 64 56 | CR afte|r savedV|
|00001900| 69 73 0d 68 69 64 65 20 | 66 6c 64 20 69 0d 65 6e |is.hide |fld i.en|
|00001910| 64 20 72 65 70 65 61 74 | 0d 0d 2d 2d 20 20 41 6c |d repeat|..-- Al|
|00001920| 69 67 6e 20 67 72 6f 75 | 70 65 64 20 6f 62 6a 65 |ign grou|ped obje|
|00001930| 63 74 73 20 61 74 20 63 | 65 6e 74 65 72 3a 0d 0d |cts at c|enter:..|
|00001940| 70 75 74 20 77 69 64 74 | 68 20 6f 66 20 63 64 20 |put widt|h of cd |
|00001950| 77 69 6e 64 6f 77 20 64 | 69 76 20 32 20 26 20 22 |window d|iv 2 & "|
|00001960| 2c 22 20 26 20 68 65 69 | 67 68 74 20 6f 66 20 63 |," & hei|ght of c|
|00001970| 64 20 77 69 6e 64 6f 77 | 20 64 69 76 20 32 20 69 |d window| div 2 i|
|00001980| 6e 74 6f 20 63 65 6e 74 | 65 72 4c 6f 63 0d 70 75 |nto cent|erLoc.pu|
|00001990| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 73 61 76 |t empty |into sav|
|000019a0| 65 64 4c 6f 63 73 0d 72 | 65 70 65 61 74 20 77 69 |edLocs.r|epeat wi|
|000019b0| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 67 50 54 5f |th i = 1| to gPT_|
|000019c0| 4e 75 6d 4f 62 6a 73 49 | 6e 47 72 6f 75 70 0d 73 |NumObjsI|nGroup.s|
|000019d0| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|000019e0| 79 0d 70 75 74 20 6c 69 | 6e 65 20 69 20 6f 66 20 |y.put li|ne i of |
|000019f0| 67 72 70 64 4f 62 6a 73 | 20 69 6e 74 6f 20 6f 62 |grpdObjs| into ob|
|00001a00| 6a 0d 73 65 74 20 76 69 | 73 69 62 6c 65 20 6f 66 |j.set vi|sible of|
|00001a10| 20 6f 62 6a 20 74 6f 20 | 74 72 75 65 0d 70 75 74 | obj to |true.put|
|00001a20| 20 6c 6f 63 20 6f 66 20 | 6f 62 6a 20 26 20 43 52 | loc of |obj & CR|
|00001a30| 20 61 66 74 65 72 20 73 | 61 76 65 64 4c 6f 63 73 | after s|avedLocs|
|00001a40| 0d 73 65 74 20 6c 6f 63 | 20 6f 66 20 6f 62 6a 20 |.set loc| of obj |
|00001a50| 74 6f 20 63 65 6e 74 65 | 72 4c 6f 63 0d 65 6e 64 |to cente|rLoc.end|
|00001a60| 20 72 65 70 65 61 74 0d | 0d 2d 2d 20 20 20 52 65 | repeat.|.-- Re|
|00001a70| 70 65 61 74 65 64 6c 79 | 20 63 6c 69 63 6b 20 61 |peatedly| click a|
|00001a80| 74 20 74 68 65 20 63 65 | 6e 74 65 72 20 6f 66 20 |t the ce|nter of |
|00001a90| 74 68 65 20 6c 69 6e 65 | 64 2d 75 70 20 6f 62 6a |the line|d-up obj|
|00001aa0| 65 63 74 73 2c 20 74 65 | 73 74 69 6e 67 20 74 6f |ects, te|sting to|
|00001ab0| 20 73 65 65 20 77 68 69 | 63 68 20 69 73 20 6f 6e | see whi|ch is on|
|00001ac0| 20 74 6f 70 2e 0d 0d 63 | 68 6f 6f 73 65 20 62 72 | top...c|hoose br|
|00001ad0| 6f 77 73 65 20 74 6f 6f | 6c 0d 72 65 70 65 61 74 |owse too|l.repeat|
|00001ae0| 20 66 6f 72 20 67 50 54 | 5f 4e 75 6d 4f 62 6a 73 | for gPT|_NumObjs|
|00001af0| 49 6e 47 72 6f 75 70 0d | 73 65 74 20 63 75 72 73 |InGroup.|set curs|
|00001b00| 6f 72 20 74 6f 20 62 75 | 73 79 0d 63 6c 69 63 6b |or to bu|sy.click|
|00001b10| 20 61 74 20 63 65 6e 74 | 65 72 4c 6f 63 20 77 69 | at cent|erLoc wi|
|00001b20| 74 68 20 63 6d 64 4b 65 | 79 20 20 20 20 2d 2d 20 |th cmdKe|y -- |
|00001b30| 75 73 65 20 63 6f 6d 6d | 61 6e 64 2d 6b 65 79 20 |use comm|and-key |
|00001b40| 73 6f 20 77 65 27 6c 6c | 20 67 65 74 20 61 20 6d |so we'll| get a m|
|00001b50| 6f 75 73 65 44 6f 77 6e | 20 65 76 65 6e 20 69 66 |ouseDown| even if|
|00001b60| 20 69 74 27 73 20 61 20 | 6c 6f 63 6b 65 64 20 66 | it's a |locked f|
|00001b70| 69 65 6c 64 0d 70 75 74 | 20 6d 73 67 20 69 6e 74 |ield.put| msg int|
|00001b80| 6f 20 6f 62 6a 0d 70 75 | 74 20 6f 62 6a 20 26 20 |o obj.pu|t obj & |
|00001b90| 43 52 20 62 65 66 6f 72 | 65 20 67 50 54 5f 47 72 |CR befor|e gPT_Gr|
|00001ba0| 6f 75 70 65 64 4f 62 6a | 73 42 61 63 6b 54 6f 46 |oupedObj|sBackToF|
|00001bb0| 72 6f 6e 74 0d 73 65 74 | 20 76 69 73 69 62 6c 65 |ront.set| visible|
|00001bc0| 20 6f 66 20 6f 62 6a 20 | 74 6f 20 66 61 6c 73 65 | of obj |to false|
|00001bd0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 0d 2d 2d 20 |.end rep|eat..-- |
|00001be0| 52 65 73 74 6f 72 65 20 | 74 68 65 20 6c 6f 63 61 |Restore |the loca|
|00001bf0| 74 69 6f 6e 73 20 6f 66 | 20 67 72 6f 75 70 65 64 |tions of| grouped|
|00001c00| 20 6f 62 6a 65 63 74 73 | 3a 0d 0d 72 65 70 65 61 | objects|:..repea|
|00001c10| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00001c20| 67 50 54 5f 4e 75 6d 4f | 62 6a 73 49 6e 47 72 6f |gPT_NumO|bjsInGro|
|00001c30| 75 70 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |up.set c|ursor to|
|00001c40| 20 62 75 73 79 0d 73 65 | 74 20 6c 6f 63 20 6f 66 | busy.se|t loc of|
|00001c50| 20 6c 69 6e 65 20 69 20 | 6f 66 20 67 72 70 64 4f | line i |of grpdO|
|00001c60| 62 6a 73 20 74 6f 20 6c | 69 6e 65 20 69 20 6f 66 |bjs to l|ine i of|
|00001c70| 20 73 61 76 65 64 4c 6f | 63 73 0d 65 6e 64 20 72 | savedLo|cs.end r|
|00001c80| 65 70 65 61 74 0d 0d 2d | 2d 20 52 65 73 74 6f 72 |epeat..-|- Restor|
|00001c90| 65 20 76 69 73 69 62 69 | 6c 69 74 79 20 6f 66 20 |e visibi|lity of |
|00001ca0| 6f 62 6a 65 63 74 73 3a | 0d 0d 70 75 74 20 31 20 |objects:|..put 1 |
|00001cb0| 69 6e 74 6f 20 6a 0d 72 | 65 70 65 61 74 20 77 69 |into j.r|epeat wi|
|00001cc0| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 6e 75 6d 62 |th i = 1| to numb|
|00001cd0| 65 72 20 6f 66 20 62 74 | 6e 73 0d 73 65 74 20 76 |er of bt|ns.set v|
|00001ce0| 69 73 69 62 6c 65 20 6f | 66 20 62 74 6e 20 69 20 |isible o|f btn i |
|00001cf0| 74 6f 20 6c 69 6e 65 20 | 6a 20 6f 66 20 73 61 76 |to line |j of sav|
|00001d00| 65 64 56 69 73 0d 61 64 | 64 20 31 20 74 6f 20 6a |edVis.ad|d 1 to j|
|00001d10| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 72 65 70 65 |.end rep|eat.repe|
|00001d20| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|00001d30| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 20 66 6c | number |of cd fl|
|00001d40| 64 73 0d 73 65 74 20 76 | 69 73 69 62 6c 65 20 6f |ds.set v|isible o|
|00001d50| 66 20 63 64 20 66 6c 64 | 20 69 20 74 6f 20 6c 69 |f cd fld| i to li|
|00001d60| 6e 65 20 6a 20 6f 66 20 | 73 61 76 65 64 56 69 73 |ne j of |savedVis|
|00001d70| 0d 61 64 64 20 31 20 74 | 6f 20 6a 0d 65 6e 64 20 |.add 1 t|o j.end |
|00001d80| 72 65 70 65 61 74 0d 72 | 65 70 65 61 74 20 77 69 |repeat.r|epeat wi|
|00001d90| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 6e 75 6d 62 |th i = 1| to numb|
|00001da0| 65 72 20 6f 66 20 62 67 | 20 62 74 6e 73 0d 73 65 |er of bg| btns.se|
|00001db0| 74 20 76 69 73 69 62 6c | 65 20 6f 66 20 62 67 20 |t visibl|e of bg |
|00001dc0| 62 74 6e 20 69 20 74 6f | 20 6c 69 6e 65 20 6a 20 |btn i to| line j |
|00001dd0| 6f 66 20 73 61 76 65 64 | 56 69 73 0d 61 64 64 20 |of saved|Vis.add |
|00001de0| 31 20 74 6f 20 6a 0d 65 | 6e 64 20 72 65 70 65 61 |1 to j.e|nd repea|
|00001df0| 74 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |t.repeat| with i |
|00001e00| 3d 20 31 20 74 6f 20 6e | 75 6d 62 65 72 20 6f 66 |= 1 to n|umber of|
|00001e10| 20 66 6c 64 73 0d 73 65 | 74 20 76 69 73 69 62 6c | flds.se|t visibl|
|00001e20| 65 20 6f 66 20 66 6c 64 | 20 69 20 74 6f 20 6c 69 |e of fld| i to li|
|00001e30| 6e 65 20 6a 20 6f 66 20 | 73 61 76 65 64 56 69 73 |ne j of |savedVis|
|00001e40| 0d 61 64 64 20 31 20 74 | 6f 20 6a 0d 65 6e 64 20 |.add 1 t|o j.end |
|00001e50| 72 65 70 65 61 74 0d 0d | 65 6e 64 20 69 66 20 2d |repeat..|end if -|
|00001e60| 2d 20 69 74 20 3d 20 22 | 59 65 73 22 20 5b 66 69 |- it = "|Yes" [fi|
|00001e70| 6e 64 20 6f 72 64 65 72 | 20 6f 66 20 67 72 6f 75 |nd order| of grou|
|00001e80| 70 65 64 20 6f 62 6a 65 | 63 74 73 5d 0d 65 6e 64 |ped obje|cts].end|
|00001e90| 20 69 66 20 2d 2d 20 4e | 75 6d 4f 62 6a 73 49 6e | if -- N|umObjsIn|
|00001ea0| 47 72 6f 75 70 20 3e 20 | 30 0d 0d 2d 2d 20 52 65 |Group > |0..-- Re|
|00001eb0| 73 74 6f 72 65 20 73 63 | 72 69 70 74 73 20 6f 66 |store sc|ripts of|
|00001ec0| 20 61 6c 6c 20 6f 62 6a | 65 63 74 73 3a 0d 0d 73 | all obj|ects:..s|
|00001ed0| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00001ee0| 63 68 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |ch.repea|t with i|
|00001ef0| 20 3d 20 31 20 74 6f 20 | 6e 75 6d 62 65 72 20 6f | = 1 to |number o|
|00001f00| 66 20 62 74 6e 73 0d 67 | 65 74 20 73 63 72 69 70 |f btns.g|et scrip|
|00001f10| 74 20 6f 66 20 62 74 6e | 20 69 0d 64 65 6c 65 74 |t of btn| i.delet|
|00001f20| 65 20 6c 69 6e 65 20 31 | 20 74 6f 20 6e 75 6d 4c |e line 1| to numL|
|00001f30| 6e 73 20 6f 66 20 69 74 | 0d 73 65 74 20 73 63 72 |ns of it|.set scr|
|00001f40| 69 70 74 20 6f 66 20 62 | 74 6e 20 69 20 74 6f 20 |ipt of b|tn i to |
|00001f50| 69 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |it.end r|epeat.re|
|00001f60| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00001f70| 74 6f 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 64 20 |to numbe|r of cd |
|00001f80| 66 6c 64 73 0d 67 65 74 | 20 73 63 72 69 70 74 20 |flds.get| script |
|00001f90| 6f 66 20 63 64 20 66 6c | 64 20 69 0d 64 65 6c 65 |of cd fl|d i.dele|
|00001fa0| 74 65 20 6c 69 6e 65 20 | 31 20 74 6f 20 6e 75 6d |te line |1 to num|
|00001fb0| 4c 6e 73 20 6f 66 20 69 | 74 0d 73 65 74 20 73 63 |Lns of i|t.set sc|
|00001fc0| 72 69 70 74 20 6f 66 20 | 63 64 20 66 6c 64 20 69 |ript of |cd fld i|
|00001fd0| 20 74 6f 20 69 74 0d 65 | 6e 64 20 72 65 70 65 61 | to it.e|nd repea|
|00001fe0| 74 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |t.repeat| with i |
|00001ff0| 3d 20 31 20 74 6f 20 6e | 75 6d 62 65 72 20 6f 66 |= 1 to n|umber of|
|00002000| 20 62 67 20 62 74 6e 73 | 0d 67 65 74 20 73 63 72 | bg btns|.get scr|
|00002010| 69 70 74 20 6f 66 20 62 | 67 20 62 74 6e 20 69 0d |ipt of b|g btn i.|
|00002020| 64 65 6c 65 74 65 20 6c | 69 6e 65 20 31 20 74 6f |delete l|ine 1 to|
|00002030| 20 6e 75 6d 4c 6e 73 20 | 6f 66 20 69 74 0d 73 65 | numLns |of it.se|
|00002040| 74 20 73 63 72 69 70 74 | 20 6f 66 20 62 67 20 62 |t script| of bg b|
|00002050| 74 6e 20 69 20 74 6f 20 | 69 74 0d 65 6e 64 20 72 |tn i to |it.end r|
|00002060| 65 70 65 61 74 0d 72 65 | 70 65 61 74 20 77 69 74 |epeat.re|peat wit|
|00002070| 68 20 69 20 3d 20 31 20 | 74 6f 20 6e 75 6d 62 65 |h i = 1 |to numbe|
|00002080| 72 20 6f 66 20 66 6c 64 | 73 0d 67 65 74 20 73 63 |r of fld|s.get sc|
|00002090| 72 69 70 74 20 6f 66 20 | 66 6c 64 20 69 0d 64 65 |ript of |fld i.de|
|000020a0| 6c 65 74 65 20 6c 69 6e | 65 20 31 20 74 6f 20 6e |lete lin|e 1 to n|
|000020b0| 75 6d 4c 6e 73 20 6f 66 | 20 69 74 0d 73 65 74 20 |umLns of| it.set |
|000020c0| 73 63 72 69 70 74 20 6f | 66 20 66 6c 64 20 69 20 |script o|f fld i |
|000020d0| 74 6f 20 69 74 0d 65 6e | 64 20 72 65 70 65 61 74 |to it.en|d repeat|
|000020e0| 0d 0d 70 75 74 20 73 61 | 76 65 64 4d 73 67 20 69 |..put sa|vedMsg i|
|000020f0| 6e 74 6f 20 6d 73 67 0d | 73 65 74 20 63 61 6e 74 |nto msg.|set cant|
|00002100| 41 62 6f 72 74 20 6f 66 | 20 74 68 69 73 20 73 74 |Abort of| this st|
|00002110| 61 63 6b 20 74 6f 20 66 | 61 6c 73 65 0d 65 6e 64 |ack to f|alse.end|
|00002120| 20 67 72 6f 75 70 4f 62 | 6a 73 0d 0d 0d 66 75 6e | groupOb|js...fun|
|00002130| 63 74 69 6f 6e 20 20 6f | 62 6a 73 49 6e 52 65 63 |ction o|bjsInRec|
|00002140| 74 20 73 65 6c 65 63 74 | 52 65 63 74 2c 20 76 69 |t select|Rect, vi|
|00002150| 73 54 79 70 65 73 0d 2d | 2d 20 52 65 74 75 72 6e |sTypes.-|- Return|
|00002160| 20 6c 69 73 74 73 20 6f | 66 20 74 68 65 20 6f 62 | lists o|f the ob|
|00002170| 6a 65 63 74 73 20 77 68 | 6f 73 65 20 72 65 63 74 |jects wh|ose rect|
|00002180| 61 6e 67 6c 65 73 20 69 | 6e 74 65 72 73 65 74 20 |angles i|nterset |
|00002190| 3c 73 65 6c 65 63 74 52 | 65 63 74 3e 2c 20 6f 72 |<selectR|ect>, or|
|000021a0| 64 65 72 65 64 20 66 72 | 6f 6d 20 6c 65 66 74 20 |dered fr|om left |
|000021b0| 74 6f 20 72 69 67 68 74 | 0d 2d 2d 20 28 6c 65 66 |to right|.-- (lef|
|000021c0| 74 20 65 64 67 65 73 29 | 20 61 6e 64 20 66 72 6f |t edges)| and fro|
|000021d0| 6d 20 74 6f 70 20 74 6f | 20 62 6f 74 74 6f 6d 2e |m top to| bottom.|
|000021e0| 20 20 3c 76 69 73 54 79 | 70 65 73 3e 20 3d 20 22 | <visTy|pes> = "|
|000021f0| 74 72 75 65 22 2c 20 22 | 66 61 6c 73 65 22 2c 20 |true", "|false", |
|00002200| 6f 72 20 22 74 72 75 65 | 2c 66 61 6c 73 65 22 3b |or "true|,false";|
|00002210| 20 64 65 74 65 72 6d 69 | 6e 65 73 20 77 68 69 63 | determi|nes whic|
|00002220| 68 0d 2d 2d 20 6f 62 6a | 65 63 74 73 20 74 6f 20 |h.-- obj|ects to |
|00002230| 73 65 6c 65 63 74 20 62 | 79 20 74 68 65 69 72 20 |select b|y their |
|00002240| 76 69 73 69 62 69 6c 69 | 74 79 20 74 79 70 65 73 |visibili|ty types|
|00002250| 3a 20 6f 6e 6c 79 20 76 | 69 73 69 62 6c 65 20 6f |: only v|isible o|
|00002260| 62 6a 65 63 74 73 2c 20 | 6f 6e 6c 79 20 68 69 64 |bjects, |only hid|
|00002270| 64 65 6e 20 6f 62 6a 65 | 63 74 73 2c 20 6f 72 20 |den obje|cts, or |
|00002280| 62 6f 74 68 2e 0d 2d 2d | 0d 67 6c 6f 62 61 6c 20 |both..--|.global |
|00002290| 67 50 54 5f 47 72 6f 75 | 70 65 64 4f 62 6a 73 4c |gPT_Grou|pedObjsL|
|000022a0| 65 66 74 54 6f 52 74 2c | 20 67 50 54 5f 47 72 6f |eftToRt,| gPT_Gro|
|000022b0| 75 70 65 64 4f 62 6a 73 | 54 6f 70 54 6f 42 6f 74 |upedObjs|TopToBot|
|000022c0| 0d 2d 2d 0d 70 75 74 20 | 22 63 61 72 64 20 62 75 |.--.put |"card bu|
|000022d0| 74 74 6f 6e 2c 63 61 72 | 64 20 66 69 65 6c 64 2c |tton,car|d field,|
|000022e0| 62 6b 67 6e 64 20 62 75 | 74 74 6f 6e 2c 62 6b 67 |bkgnd bu|tton,bkg|
|000022f0| 6e 64 20 66 69 65 6c 64 | 22 20 69 6e 74 6f 20 6f |nd field|" into o|
|00002300| 62 6a 4b 69 6e 64 73 0d | 70 75 74 20 65 6d 70 74 |bjKinds.|put empt|
|00002310| 79 20 69 6e 74 6f 20 67 | 72 70 64 4f 62 6a 73 0d |y into g|rpdObjs.|
|00002320| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 67 |put empt|y into g|
|00002330| 72 70 64 4f 62 6a 52 65 | 63 74 73 0d 0d 72 65 70 |rpdObjRe|cts..rep|
|00002340| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t|
|00002350| 6f 20 34 0d 70 75 74 20 | 69 74 65 6d 20 69 20 6f |o 4.put |item i o|
|00002360| 66 20 6f 62 6a 4b 69 6e | 64 73 20 69 6e 74 6f 20 |f objKin|ds into |
|00002370| 6f 62 6a 4b 69 6e 64 0d | 70 75 74 20 74 68 65 20 |objKind.|put the |
|00002380| 6e 75 6d 62 65 72 20 6f | 66 20 28 6f 62 6a 4b 69 |number o|f (objKi|
|00002390| 6e 64 20 26 20 22 73 22 | 29 20 69 6e 74 6f 20 6e |nd & "s"|) into n|
|000023a0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 6a 20 3d |.repeat |with j =|
|000023b0| 20 31 20 74 6f 20 6e 0d | 73 65 74 20 63 75 72 73 | 1 to n.|set curs|
|000023c0| 6f 72 20 74 6f 20 62 75 | 73 79 0d 70 75 74 20 6f |or to bu|sy.put o|
|000023d0| 62 6a 4b 69 6e 64 20 26 | 26 20 6a 20 69 6e 74 6f |bjKind &|& j into|
|000023e0| 20 6f 62 6a 0d 69 66 20 | 76 69 73 69 62 6c 65 20 | obj.if |visible |
|000023f0| 6f 66 20 6f 62 6a 20 69 | 73 20 69 6e 20 76 69 73 |of obj i|s in vis|
|00002400| 54 79 70 65 73 20 74 68 | 65 6e 0d 69 66 20 49 6e |Types th|en.if In|
|00002410| 74 65 72 73 65 63 74 52 | 65 63 74 28 72 65 63 74 |tersectR|ect(rect|
|00002420| 20 6f 66 20 6f 62 6a 2c | 20 73 65 6c 65 63 74 52 | of obj,| selectR|
|00002430| 65 63 74 29 20 74 68 65 | 6e 0d 70 75 74 20 6f 62 |ect) the|n.put ob|
|00002440| 6a 4b 69 6e 64 20 26 26 | 20 22 69 64 22 20 26 26 |jKind &&| "id" &&|
|00002450| 20 69 64 20 6f 66 20 6f | 62 6a 20 26 20 72 65 74 | id of o|bj & ret|
|00002460| 75 72 6e 20 61 66 74 65 | 72 20 67 72 70 64 4f 62 |urn afte|r grpdOb|
|00002470| 6a 73 0d 70 75 74 20 72 | 65 63 74 20 6f 66 20 6f |js.put r|ect of o|
|00002480| 62 6a 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |bj & ret|urn afte|
|00002490| 72 20 67 72 70 64 4f 62 | 6a 52 65 63 74 73 0d 65 |r grpdOb|jRects.e|
|000024a0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 20 20 2d 2d |nd if.en|d if --|
|000024b0| 20 69 66 20 76 69 73 69 | 62 6c 65 2e 2e 2e 0d 65 | if visi|ble....e|
|000024c0| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 72 65 |nd repea|t.end re|
|000024d0| 70 65 61 74 0d 0d 2d 2d | 20 4e 6f 77 20 73 6f 72 |peat..--| Now sor|
|000024e0| 74 20 62 79 20 6c 65 66 | 74 2d 74 6f 2d 72 69 67 |t by lef|t-to-rig|
|000024f0| 68 74 20 6f 72 64 65 72 | 20 6f 66 20 6c 65 66 74 |ht order| of left|
|00002500| 20 65 64 67 65 73 20 61 | 6e 64 20 74 6f 70 2d 74 | edges a|nd top-t|
|00002510| 6f 2d 62 6f 74 74 6f 6d | 20 6f 72 64 65 72 20 6f |o-bottom| order o|
|00002520| 66 20 74 6f 70 20 65 64 | 67 65 73 3a 0d 0d 70 75 |f top ed|ges:..pu|
|00002530| 74 20 46 75 6c 6c 53 6f | 72 74 28 67 72 70 64 4f |t FullSo|rt(grpdO|
|00002540| 62 6a 52 65 63 74 73 2c | 20 22 63 3d 69 74 65 6d |bjRects,| "c=item|
|00002550| 20 31 22 2c 20 22 74 3d | 6e 22 29 20 69 6e 74 6f | 1", "t=|n") into|
|00002560| 20 6c 54 6f 52 20 20 20 | 20 20 20 20 20 2d 2d 20 | lToR | -- |
|00002570| 53 6f 72 74 20 6f 62 6a | 65 63 74 20 72 65 63 74 |Sort obj|ect rect|
|00002580| 73 20 62 79 20 6c 65 66 | 74 20 65 64 67 65 73 2c |s by lef|t edges,|
|00002590| c9 0d 70 75 74 20 46 75 | 6c 6c 53 6f 72 74 28 67 |..put Fu|llSort(g|
|000025a0| 72 70 64 4f 62 6a 73 2c | 20 22 64 3d 6c 22 29 20 |rpdObjs,| "d=l") |
|000025b0| 69 6e 74 6f 20 67 50 54 | 5f 47 72 6f 75 70 65 64 |into gPT|_Grouped|
|000025c0| 4f 62 6a 73 4c 65 66 74 | 54 6f 52 74 20 20 2d 2d |ObjsLeft|ToRt --|
|000025d0| c9 61 6e 64 20 74 68 65 | 6e 20 63 6f 2d 73 6f 72 |.and the|n co-sor|
|000025e0| 74 20 6f 62 6a 65 63 74 | 20 49 44 27 73 2e 0d 70 |t object| ID's..p|
|000025f0| 75 74 20 46 75 6c 6c 53 | 6f 72 74 28 67 72 70 64 |ut FullS|ort(grpd|
|00002600| 4f 62 6a 52 65 63 74 73 | 2c 20 22 63 3d 69 74 65 |ObjRects|, "c=ite|
|00002610| 6d 20 32 22 2c 20 22 74 | 3d 6e 22 29 20 69 6e 74 |m 2", "t|=n") int|
|00002620| 6f 20 74 54 6f 42 20 20 | 20 20 20 20 20 20 20 2d |o tToB | -|
|00002630| 2d 20 53 6f 72 74 20 6f | 62 6a 65 63 74 20 72 65 |- Sort o|bject re|
|00002640| 63 74 73 20 62 79 20 74 | 6f 70 20 65 64 67 65 73 |cts by t|op edges|
|00002650| 2c c9 0d 70 75 74 20 46 | 75 6c 6c 53 6f 72 74 28 |,..put F|ullSort(|
|00002660| 67 72 70 64 4f 62 6a 73 | 2c 20 22 64 3d 6c 22 29 |grpdObjs|, "d=l")|
|00002670| 20 69 6e 74 6f 20 67 50 | 54 5f 47 72 6f 75 70 65 | into gP|T_Groupe|
|00002680| 64 4f 62 6a 73 54 6f 70 | 54 6f 42 6f 74 20 20 2d |dObjsTop|ToBot -|
|00002690| 2d 20 c9 61 6e 64 20 74 | 68 65 6e 20 63 6f 2d 73 |- .and t|hen co-s|
|000026a0| 6f 72 74 20 6f 62 6a 65 | 63 74 20 49 44 27 73 2e |ort obje|ct ID's.|
|000026b0| 0d 72 65 74 75 72 6e 20 | 67 72 70 64 4f 62 6a 73 |.return |grpdObjs|
|000026c0| 0d 65 6e 64 20 6f 62 6a | 73 49 6e 52 65 63 74 0d |.end obj|sInRect.|
|000026d0| 0d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0d 6f 6e 20 6d 6f |.-------|-..on mo|
|000026e0| 76 65 47 72 6f 75 70 65 | 64 4f 62 6a 73 0d 67 6c |veGroupe|dObjs.gl|
|000026f0| 6f 62 61 6c 20 67 50 54 | 5f 4e 75 6d 4f 62 6a 73 |obal gPT|_NumObjs|
|00002700| 49 6e 47 72 6f 75 70 2c | 20 67 50 54 5f 47 72 6f |InGroup,| gPT_Gro|
|00002710| 75 70 65 64 4f 62 6a 73 | 2c 20 67 50 54 5f 57 68 |upedObjs|, gPT_Wh|
|00002720| 65 72 65 54 68 65 47 72 | 6f 75 70 49 73 0d 2d 2d |ereTheGr|oupIs.--|
|00002730| 2d 2d 0d 2d 2d 20 63 68 | 65 63 6b 47 72 6f 75 70 |--.-- ch|eckGroup|
|00002740| 65 64 4f 62 6a 73 0d 70 | 75 74 20 67 50 54 5f 47 |edObjs.p|ut gPT_G|
|00002750| 72 6f 75 70 65 64 4f 62 | 6a 73 20 69 6e 74 6f 20 |roupedOb|js into |
|00002760| 67 72 70 64 4f 62 6a 73 | 0d 70 75 74 20 67 50 54 |grpdObjs|.put gPT|
|00002770| 5f 4e 75 6d 4f 62 6a 73 | 49 6e 47 72 6f 75 70 20 |_NumObjs|InGroup |
|00002780| 69 6e 74 6f 20 6e 75 6d | 4f 62 6a 73 0d 67 6f 20 |into num|Objs.go |
|00002790| 67 50 54 5f 57 68 65 72 | 65 54 68 65 47 72 6f 75 |gPT_Wher|eTheGrou|
|000027a0| 70 49 73 0d 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |pIs..set| cursor |
|000027b0| 74 6f 20 61 72 72 6f 77 | 0d 77 61 69 74 20 75 6e |to arrow|.wait un|
|000027c0| 74 69 6c 20 74 68 65 20 | 6d 6f 75 73 65 43 6c 69 |til the |mouseCli|
|000027d0| 63 6b 0d 70 75 74 20 74 | 68 65 20 63 6c 69 63 6b |ck.put t|he click|
|000027e0| 4c 6f 63 20 69 6e 74 6f | 20 74 68 69 73 4c 6f 63 |Loc into| thisLoc|
|000027f0| 0d 72 65 70 65 61 74 20 | 77 68 69 6c 65 20 74 68 |.repeat |while th|
|00002800| 65 20 6d 6f 75 73 65 20 | 69 73 20 64 6f 77 6e 0d |e mouse |is down.|
|00002810| 70 75 74 20 74 68 69 73 | 4c 6f 63 20 69 6e 74 6f |put this|Loc into|
|00002820| 20 6c 61 73 74 4c 6f 63 | 0d 70 75 74 20 74 68 65 | lastLoc|.put the|
|00002830| 20 6d 6f 75 73 65 4c 6f | 63 20 69 6e 74 6f 20 74 | mouseLo|c into t|
|00002840| 68 69 73 4c 6f 63 0d 69 | 66 20 74 68 69 73 4c 6f |hisLoc.i|f thisLo|
|00002850| 63 20 ad 20 6c 61 73 74 | 4c 6f 63 20 74 68 65 6e |c . last|Loc then|
|00002860| 0d 70 75 74 20 28 69 74 | 65 6d 20 31 20 6f 66 20 |.put (it|em 1 of |
|00002870| 74 68 69 73 4c 6f 63 20 | 2d 20 69 74 65 6d 20 31 |thisLoc |- item 1|
|00002880| 20 6f 66 20 6c 61 73 74 | 4c 6f 63 29 20 69 6e 74 | of last|Loc) int|
|00002890| 6f 20 64 65 6c 74 61 58 | 0d 70 75 74 20 28 69 74 |o deltaX|.put (it|
|000028a0| 65 6d 20 32 20 6f 66 20 | 74 68 69 73 4c 6f 63 20 |em 2 of |thisLoc |
|000028b0| 2d 20 69 74 65 6d 20 32 | 20 6f 66 20 6c 61 73 74 |- item 2| of last|
|000028c0| 4c 6f 63 29 20 69 6e 74 | 6f 20 64 65 6c 74 61 59 |Loc) int|o deltaY|
|000028d0| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 72 65 70 |.lock sc|reen.rep|
|000028e0| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t|
|000028f0| 6f 20 6e 75 6d 4f 62 6a | 73 0d 70 75 74 20 6c 69 |o numObj|s.put li|
|00002900| 6e 65 20 69 20 6f 66 20 | 67 72 70 64 4f 62 6a 73 |ne i of |grpdObjs|
|00002910| 20 69 6e 74 6f 20 6f 62 | 6a 0d 67 65 74 20 6c 6f | into ob|j.get lo|
|00002920| 63 20 6f 66 20 6f 62 6a | 0d 73 65 74 20 6c 6f 63 |c of obj|.set loc|
|00002930| 20 6f 66 20 6f 62 6a 20 | 74 6f 20 28 69 74 65 6d | of obj |to (item|
|00002940| 20 31 20 6f 66 20 69 74 | 20 2b 20 64 65 6c 74 61 | 1 of it| + delta|
|00002950| 58 29 2c 20 28 69 74 65 | 6d 20 32 20 6f 66 20 69 |X), (ite|m 2 of i|
|00002960| 74 20 2b 20 64 65 6c 74 | 61 59 29 0d 65 6e 64 20 |t + delt|aY).end |
|00002970| 72 65 70 65 61 74 0d 75 | 6e 6c 6f 63 6b 20 73 63 |repeat.u|nlock sc|
|00002980| 72 65 65 6e 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |reen.end| if.end |
|00002990| 72 65 70 65 61 74 0d 75 | 6e 68 69 6c 69 74 65 42 |repeat.u|nhiliteB|
|000029a0| 47 50 61 6c 0d 65 6e 64 | 20 6d 6f 76 65 47 72 6f |GPal.end| moveGro|
|000029b0| 75 70 65 64 4f 62 6a 73 | 0d 0d 0d 6f 6e 20 61 6c |upedObjs|...on al|
|000029c0| 69 67 6e 47 72 6f 75 70 | 65 64 4f 62 6a 73 0d 67 |ignGroup|edObjs.g|
|000029d0| 6c 6f 62 61 6c 20 67 50 | 54 5f 4e 75 6d 4f 62 6a |lobal gP|T_NumObj|
|000029e0| 73 49 6e 47 72 6f 75 70 | 2c 20 67 50 54 5f 47 72 |sInGroup|, gPT_Gr|
|000029f0| 6f 75 70 65 64 4f 62 6a | 73 0d 67 6c 6f 62 61 6c |oupedObj|s.global|
|00002a00| 20 67 50 54 5f 57 68 65 | 72 65 54 68 65 47 72 6f | gPT_Whe|reTheGro|
|00002a10| 75 70 49 73 0d 2d 2d 2d | 2d 0d 2d 2d 20 63 68 65 |upIs.---|-.-- che|
|00002a20| 63 6b 47 72 6f 75 70 65 | 64 4f 62 6a 73 0d 61 6e |ckGroupe|dObjs.an|
|00002a30| 73 77 65 72 20 22 41 6c | 69 67 6e 20 74 68 65 20 |swer "Al|ign the |
|00002a40| 6f 62 6a 65 63 74 73 20 | 6f 66 20 74 68 65 20 67 |objects |of the g|
|00002a50| 72 6f 75 70 20 68 6f 72 | 69 7a 6f 6e 74 61 6c 6c |roup hor|izontall|
|00002a60| 79 20 6f 72 20 76 65 72 | 74 69 63 61 6c 6c 79 3f |y or ver|tically?|
|00002a70| 22 20 77 69 74 68 20 22 | 56 65 72 74 22 20 6f 72 |" with "|Vert" or|
|00002a80| 20 22 48 6f 72 7a 22 20 | 6f 72 20 22 43 61 6e 63 | "Horz" |or "Canc|
|00002a90| 65 6c 22 0d 69 66 20 69 | 74 20 3d 20 65 6d 70 74 |el".if i|t = empt|
|00002aa0| 79 20 6f 72 20 69 74 20 | 3d 20 22 43 61 6e 63 65 |y or it |= "Cance|
|00002ab0| 6c 22 20 74 68 65 6e 20 | 66 61 69 6c 0d 70 75 74 |l" then |fail.put|
|00002ac0| 20 69 74 20 69 6e 74 6f | 20 61 6c 69 67 6e 6d 65 | it into| alignme|
|00002ad0| 6e 74 0d 0d 69 66 20 61 | 6c 69 67 6e 6d 65 6e 74 |nt..if a|lignment|
|00002ae0| 20 3d 20 22 48 6f 72 7a | 22 0d 74 68 65 6e 20 61 | = "Horz|".then a|
|00002af0| 6e 73 77 65 72 20 22 41 | 6c 69 67 6e 20 77 68 69 |nswer "A|lign whi|
|00002b00| 63 68 20 65 64 67 65 20 | 6f 66 20 74 68 65 20 6f |ch edge |of the o|
|00002b10| 62 6a 65 63 74 73 3f 22 | 20 77 69 74 68 20 22 52 |bjects?"| with "R|
|00002b20| 69 67 68 74 22 20 6f 72 | 20 22 4c 65 66 74 22 0d |ight" or| "Left".|
|00002b30| 65 6c 73 65 20 61 6e 73 | 77 65 72 20 22 41 6c 69 |else ans|wer "Ali|
|00002b40| 67 6e 20 77 68 69 63 68 | 20 65 64 67 65 20 6f 66 |gn which| edge of|
|00002b50| 20 74 68 65 20 6f 62 6a | 65 63 74 73 3f 22 20 77 | the obj|ects?" w|
|00002b60| 69 74 68 20 22 42 6f 74 | 74 6f 6d 22 20 6f 72 20 |ith "Bot|tom" or |
|00002b70| 22 54 6f 70 22 0d 0d 70 | 75 74 20 69 74 20 69 6e |"Top"..p|ut it in|
|00002b80| 74 6f 20 74 68 65 45 64 | 67 65 0d 0d 67 6f 20 67 |to theEd|ge..go g|
|00002b90| 50 54 5f 57 68 65 72 65 | 54 68 65 47 72 6f 75 70 |PT_Where|TheGroup|
|00002ba0| 49 73 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |Is.set c|ursor to|
|00002bb0| 20 63 72 6f 73 73 0d 77 | 61 69 74 20 75 6e 74 69 | cross.w|ait unti|
|00002bc0| 6c 20 74 68 65 20 6d 6f | 75 73 65 43 6c 69 63 6b |l the mo|useClick|
|00002bd0| 0d 70 75 74 20 74 68 65 | 20 63 6c 69 63 6b 48 20 |.put the| clickH |
|00002be0| 69 6e 74 6f 20 68 6f 72 | 7a 0d 70 75 74 20 74 68 |into hor|z.put th|
|00002bf0| 65 20 63 6c 69 63 6b 56 | 20 69 6e 74 6f 20 76 65 |e clickV| into ve|
|00002c00| 72 74 0d 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |rt..lock| screen.|
|00002c10| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00002c20| 31 20 74 6f 20 67 50 54 | 5f 4e 75 6d 4f 62 6a 73 |1 to gPT|_NumObjs|
|00002c30| 49 6e 47 72 6f 75 70 0d | 64 6f 20 22 73 65 74 20 |InGroup.|do "set |
|00002c40| 74 68 65 22 20 26 26 20 | 74 68 65 45 64 67 65 20 |the" && |theEdge |
|00002c50| 26 26 20 22 6f 66 20 6c | 69 6e 65 20 69 20 6f 66 |&& "of l|ine i of|
|00002c60| 20 67 50 54 5f 47 72 6f | 75 70 65 64 4f 62 6a 73 | gPT_Gro|upedObjs|
|00002c70| 20 74 6f 22 20 26 26 20 | 61 6c 69 67 6e 6d 65 6e | to" && |alignmen|
|00002c80| 74 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 75 6e 6c |t.end re|peat.unl|
|00002c90| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 0d 75 6e 68 69 |ock scre|en..unhi|
|00002ca0| 6c 69 74 65 42 47 50 61 | 6c 0d 65 6e 64 20 61 6c |liteBGPa|l.end al|
|00002cb0| 69 67 6e 47 72 6f 75 70 | 65 64 4f 62 6a 73 0d 0d |ignGroup|edObjs..|
|00002cc0| 0d 6f 6e 20 73 70 61 63 | 65 47 72 6f 75 70 65 64 |.on spac|eGrouped|
|00002cd0| 4f 62 6a 73 0d 2d 2d 0d | 67 6c 6f 62 61 6c 20 67 |Objs.--.|global g|
|00002ce0| 50 54 5f 47 72 6f 75 70 | 65 64 4f 62 6a 73 4c 65 |PT_Group|edObjsLe|
|00002cf0| 66 74 54 6f 52 74 2c 20 | 67 50 54 5f 47 72 6f 75 |ftToRt, |gPT_Grou|
|00002d00| 70 65 64 4f 62 6a 73 54 | 6f 70 54 6f 42 6f 74 2c |pedObjsT|opToBot,|
|00002d10| 20 67 50 54 5f 47 72 6f | 75 70 65 64 4f 62 6a 73 | gPT_Gro|upedObjs|
|00002d20| 43 6c 69 63 6b 4f 72 64 | 65 72 0d 67 6c 6f 62 61 |ClickOrd|er.globa|
|00002d30| 6c 20 67 50 54 5f 4e 75 | 6d 4f 62 6a 73 49 6e 47 |l gPT_Nu|mObjsInG|
|00002d40| 72 6f 75 70 2c 20 67 50 | 54 5f 57 68 65 72 65 54 |roup, gP|T_WhereT|
|00002d50| 68 65 47 72 6f 75 70 49 | 73 0d 2d 2d 0d 2d 2d 20 |heGroupI|s.--.-- |
|00002d60| 63 68 65 63 6b 47 72 6f | 75 70 65 64 4f 62 6a 73 |checkGro|upedObjs|
|00002d70| 0d 61 6e 73 77 65 72 20 | 22 41 64 6a 75 73 74 20 |.answer |"Adjust |
|00002d80| 74 68 65 20 68 6f 72 69 | 7a 6f 6e 74 61 6c 20 6f |the hori|zontal o|
|00002d90| 72 20 76 65 72 74 69 63 | 61 6c 20 73 70 61 63 69 |r vertic|al spaci|
|00002da0| 6e 67 20 62 65 74 77 65 | 65 6e 20 6f 62 6a 65 63 |ng betwe|en objec|
|00002db0| 74 73 3f 22 20 77 69 74 | 68 20 22 56 65 72 74 22 |ts?" wit|h "Vert"|
|00002dc0| 20 6f 72 20 22 48 6f 72 | 7a 22 20 6f 72 20 22 43 | or "Hor|z" or "C|
|00002dd0| 61 6e 63 65 6c 22 0d 69 | 66 20 69 74 20 3d 20 65 |ancel".i|f it = e|
|00002de0| 6d 70 74 79 20 6f 72 20 | 69 74 20 3d 20 22 43 61 |mpty or |it = "Ca|
|00002df0| 6e 63 65 6c 22 20 74 68 | 65 6e 20 66 61 69 6c 0d |ncel" th|en fail.|
|00002e00| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 64 69 72 65 |put it i|nto dire|
|00002e10| 63 74 69 6f 6e 0d 0d 61 | 73 6b 20 22 45 6e 74 65 |ction..a|sk "Ente|
|00002e20| 72 20 74 68 65 20 64 69 | 73 74 61 6e 63 65 20 62 |r the di|stance b|
|00002e30| 65 74 77 65 65 6e 20 6f | 62 6a 65 63 74 73 20 69 |etween o|bjects i|
|00002e40| 6e 20 70 69 78 65 6c 73 | 3a 22 20 77 69 74 68 20 |n pixels|:" with |
|00002e50| 35 0d 69 66 20 69 74 20 | 69 73 20 65 6d 70 74 79 |5.if it |is empty|
|00002e60| 20 6f 72 20 74 68 65 20 | 72 65 73 75 6c 74 20 3d | or the |result =|
|00002e70| 20 22 43 61 6e 63 65 6c | 22 20 6f 72 20 69 74 20 | "Cancel|" or it |
|00002e80| 69 73 20 6e 6f 74 20 61 | 6e 20 69 6e 74 65 67 65 |is not a|n intege|
|00002e90| 72 20 74 68 65 6e 20 66 | 61 69 6c 0d 70 75 74 20 |r then f|ail.put |
|00002ea0| 69 74 20 69 6e 74 6f 20 | 73 70 61 63 69 6e 67 0d |it into |spacing.|
|00002eb0| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00002ec0| 72 65 76 65 72 73 65 5f | 73 6f 72 74 0d 70 75 74 |reverse_|sort.put|
|00002ed0| 20 67 50 54 5f 47 72 6f | 75 70 65 64 4f 62 6a 73 | gPT_Gro|upedObjs|
|00002ee0| 43 6c 69 63 6b 4f 72 64 | 65 72 20 69 6e 74 6f 20 |ClickOrd|er into |
|00002ef0| 6f 62 6a 73 0d 0d 69 66 | 20 64 69 72 65 63 74 69 |objs..if| directi|
|00002f00| 6f 6e 20 3d 20 22 56 65 | 72 74 22 20 74 68 65 6e |on = "Ve|rt" then|
|00002f10| 0d 69 66 20 6f 62 6a 73 | 20 69 73 20 65 6d 70 74 |.if objs| is empt|
|00002f20| 79 20 74 68 65 6e 20 70 | 75 74 20 67 50 54 5f 47 |y then p|ut gPT_G|
|00002f30| 72 6f 75 70 65 64 4f 62 | 6a 73 54 6f 70 54 6f 42 |roupedOb|jsTopToB|
|00002f40| 6f 74 20 69 6e 74 6f 20 | 6f 62 6a 73 0d 69 66 20 |ot into |objs.if |
|00002f50| 73 70 61 63 69 6e 67 20 | b3 20 30 20 74 68 65 6e |spacing |. 0 then|
|00002f60| 0d 70 75 74 20 22 74 6f | 70 2c 62 6f 74 74 6f 6d |.put "to|p,bottom|
|00002f70| 22 20 69 6e 74 6f 20 65 | 64 67 65 73 0d 65 6c 73 |" into e|dges.els|
|00002f80| 65 0d 70 75 74 20 22 62 | 6f 74 74 6f 6d 2c 74 6f |e.put "b|ottom,to|
|00002f90| 70 22 20 69 6e 74 6f 20 | 65 64 67 65 73 0d 70 75 |p" into |edges.pu|
|00002fa0| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 72 65 76 65 |t true i|nto reve|
|00002fb0| 72 73 65 5f 73 6f 72 74 | 0d 65 6e 64 20 69 66 0d |rse_sort|.end if.|
|00002fc0| 65 6c 73 65 0d 69 66 20 | 6f 62 6a 73 20 69 73 20 |else.if |objs is |
|00002fd0| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 67 |empty th|en put g|
|00002fe0| 50 54 5f 47 72 6f 75 70 | 65 64 4f 62 6a 73 4c 65 |PT_Group|edObjsLe|
|00002ff0| 66 74 54 6f 52 74 20 69 | 6e 74 6f 20 6f 62 6a 73 |ftToRt i|nto objs|
|00003000| 0d 69 66 20 73 70 61 63 | 69 6e 67 20 b3 20 30 20 |.if spac|ing . 0 |
|00003010| 74 68 65 6e 0d 70 75 74 | 20 22 6c 65 66 74 2c 72 |then.put| "left,r|
|00003020| 69 67 68 74 22 20 69 6e | 74 6f 20 65 64 67 65 73 |ight" in|to edges|
|00003030| 0d 65 6c 73 65 0d 70 75 | 74 20 22 72 69 67 68 74 |.else.pu|t "right|
|00003040| 2c 6c 65 66 74 22 20 69 | 6e 74 6f 20 65 64 67 65 |,left" i|nto edge|
|00003050| 73 0d 70 75 74 20 74 72 | 75 65 20 69 6e 74 6f 20 |s.put tr|ue into |
|00003060| 72 65 76 65 72 73 65 5f | 73 6f 72 74 0d 65 6e 64 |reverse_|sort.end|
|00003070| 20 69 66 0d 65 6e 64 20 | 69 66 0d 0d 70 75 74 20 | if.end |if..put |
|00003080| 69 74 65 6d 20 31 20 6f | 66 20 65 64 67 65 73 20 |item 1 o|f edges |
|00003090| 69 6e 74 6f 20 65 31 0d | 70 75 74 20 69 74 65 6d |into e1.|put item|
|000030a0| 20 32 20 6f 66 20 65 64 | 67 65 73 20 69 6e 74 6f | 2 of ed|ges into|
|000030b0| 20 65 32 0d 0d 67 6f 20 | 67 50 54 5f 57 68 65 72 | e2..go |gPT_Wher|
|000030c0| 65 54 68 65 47 72 6f 75 | 70 49 73 0d 0d 6c 6f 63 |eTheGrou|pIs..loc|
|000030d0| 6b 20 73 63 72 65 65 6e | 0d 0d 69 66 20 72 65 76 |k screen|..if rev|
|000030e0| 65 72 73 65 5f 73 6f 72 | 74 20 3d 20 66 61 6c 73 |erse_sor|t = fals|
|000030f0| 65 20 74 68 65 6e 0d 72 | 65 70 65 61 74 20 77 69 |e then.r|epeat wi|
|00003100| 74 68 20 69 20 3d 20 32 | 20 74 6f 20 67 50 54 5f |th i = 2| to gPT_|
|00003110| 4e 75 6d 4f 62 6a 73 49 | 6e 47 72 6f 75 70 0d 64 |NumObjsI|nGroup.d|
|00003120| 6f 20 22 73 65 74 22 20 | 26 26 20 20 65 31 20 26 |o "set" |&& e1 &|
|00003130| 26 20 22 6f 66 20 6c 69 | 6e 65 20 69 20 6f 66 20 |& "of li|ne i of |
|00003140| 6f 62 6a 73 20 74 6f 22 | 20 26 26 20 65 32 20 26 |objs to"| && e2 &|
|00003150| 26 20 22 6f 66 20 6c 69 | 6e 65 20 69 20 2d 20 31 |& "of li|ne i - 1|
|00003160| 20 6f 66 20 6f 62 6a 73 | 20 2b 20 73 70 61 63 69 | of objs| + spaci|
|00003170| 6e 67 22 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |ng".end |repeat.e|
|00003180| 6c 73 65 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |lse.repe|at with |
|00003190| 69 20 3d 20 67 50 54 5f | 4e 75 6d 4f 62 6a 73 49 |i = gPT_|NumObjsI|
|000031a0| 6e 47 72 6f 75 70 20 64 | 6f 77 6e 20 74 6f 20 32 |nGroup d|own to 2|
|000031b0| 0d 64 6f 20 22 73 65 74 | 22 20 26 26 20 20 65 31 |.do "set|" && e1|
|000031c0| 20 26 26 20 22 6f 66 20 | 6c 69 6e 65 20 69 20 6f | && "of |line i o|
|000031d0| 66 20 6f 62 6a 73 20 74 | 6f 22 20 26 26 20 65 32 |f objs t|o" && e2|
|000031e0| 20 26 26 20 22 6f 66 20 | 6c 69 6e 65 20 69 20 2d | && "of |line i -|
|000031f0| 20 31 20 6f 66 20 6f 62 | 6a 73 20 2b 20 73 70 61 | 1 of ob|js + spa|
|00003200| 63 69 6e 67 22 0d 65 6e | 64 20 72 65 70 65 61 74 |cing".en|d repeat|
|00003210| 0d 65 6e 64 20 69 66 0d | 0d 75 6e 6c 6f 63 6b 20 |.end if.|.unlock |
|00003220| 73 63 72 65 65 6e 0d 75 | 6e 68 69 6c 69 74 65 42 |screen.u|nhiliteB|
|00003230| 47 50 61 6c 0d 65 6e 64 | 20 73 70 61 63 65 47 72 |GPal.end| spaceGr|
|00003240| 6f 75 70 65 64 4f 62 6a | 73 0d 0d 0d 6f 6e 20 64 |oupedObj|s...on d|
|00003250| 75 70 6c 69 63 61 74 65 | 47 72 6f 75 70 65 64 4f |uplicate|GroupedO|
|00003260| 62 6a 73 20 20 6c 61 79 | 65 72 0d 67 6c 6f 62 61 |bjs lay|er.globa|
|00003270| 6c 20 67 50 54 5f 4e 75 | 6d 4f 62 6a 73 49 6e 47 |l gPT_Nu|mObjsInG|
|00003280| 72 6f 75 70 2c 20 67 50 | 54 5f 47 72 6f 75 70 65 |roup, gP|T_Groupe|
|00003290| 64 4f 62 6a 73 2c 20 67 | 50 54 5f 47 72 6f 75 70 |dObjs, g|PT_Group|
|000032a0| 65 64 4f 62 6a 73 42 61 | 63 6b 54 6f 46 72 6f 6e |edObjsBa|ckToFron|
|000032b0| 74 2c 20 67 50 54 5f 57 | 68 65 72 65 54 68 65 47 |t, gPT_W|hereTheG|
|000032c0| 72 6f 75 70 49 73 0d 2d | 2d 2d 2d 0d 73 65 74 20 |roupIs.-|---.set |
|000032d0| 63 61 6e 74 41 62 6f 72 | 74 20 6f 66 20 74 68 69 |cantAbor|t of thi|
|000032e0| 73 20 73 74 61 63 6b 20 | 74 6f 20 74 72 75 65 20 |s stack |to true |
|000032f0| 20 20 20 20 20 20 20 20 | 20 20 20 2d 2d 20 73 6f | | -- so|
|00003300| 20 43 6d 64 2d 2e 20 77 | 6f 6e 27 74 20 61 62 6f | Cmd-. w|on't abo|
|00003310| 72 74 20 73 63 72 69 70 | 74 20 69 6e 20 74 68 65 |rt scrip|t in the|
|00003320| 20 22 61 6e 73 77 65 72 | 22 20 64 69 61 6c 6f 67 | "answer|" dialog|
|00003330| 20 62 65 6c 6f 77 0d 70 | 75 74 20 67 50 54 5f 57 | below.p|ut gPT_W|
|00003340| 68 65 72 65 54 68 65 47 | 72 6f 75 70 49 73 20 69 |hereTheG|roupIs i|
|00003350| 6e 74 6f 20 77 68 65 72 | 65 47 72 70 49 73 0d 69 |nto wher|eGrpIs.i|
|00003360| 66 20 77 68 65 72 65 47 | 72 70 49 73 20 3d 20 65 |f whereG|rpIs = e|
|00003370| 6d 70 74 79 20 74 68 65 | 6e 20 66 61 69 6c 20 22 |mpty the|n fail "|
|00003380| 43 61 6e 27 74 20 70 61 | 73 74 65 3b 20 6e 6f 20 |Can't pa|ste; no |
|00003390| 67 72 6f 75 70 65 64 20 | 6f 62 6a 65 63 74 73 2e |grouped |objects.|
|000033a0| 22 0d 0d 69 66 20 6c 61 | 79 65 72 20 69 73 20 65 |"..if la|yer is e|
|000033b0| 6d 70 74 79 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |mpty the|n.answer|
|000033c0| 20 22 50 61 73 74 65 20 | 67 72 6f 75 70 65 64 20 | "Paste |grouped |
|000033d0| 6f 62 6a 65 63 74 73 20 | 69 6e 74 6f 20 77 68 69 |objects |into whi|
|000033e0| 63 68 20 6c 61 79 65 72 | 3f 22 20 26 20 72 65 74 |ch layer|?" & ret|
|000033f0| 75 72 6e 20 26 20 c2 0d | 22 28 d2 4f 72 69 67 69 |urn & ..|"(.Origi|
|00003400| 6e 61 6c d3 20 77 69 6c | 6c 20 70 61 73 74 65 20 |nal. wil|l paste |
|00003410| 65 61 63 68 20 6f 62 6a | 65 63 74 20 69 6e 74 6f |each obj|ect into|
|00003420| 20 73 61 6d 65 20 6c 61 | 79 65 72 20 69 74 20 77 | same la|yer it w|
|00003430| 61 73 20 69 6e 20 6f 72 | 69 67 69 6e 61 6c 6c 79 |as in or|iginally|
|00003440| 2e 29 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 c2 |.)" & re|turn & .|
|00003450| 0d 22 54 79 70 65 20 11 | 2d 2e 20 74 6f 20 63 61 |."Type .|-. to ca|
|00003460| 6e 63 65 6c 2e 22 20 77 | 69 74 68 20 22 42 61 63 |ncel." w|ith "Bac|
|00003470| 6b 67 72 6f 75 6e 64 22 | 2c 20 22 43 61 72 64 22 |kground"|, "Card"|
|00003480| 2c 20 22 4f 72 69 67 69 | 6e 61 6c 22 20 20 20 20 |, "Origi|nal" |
|00003490| 20 2d 2d 20 63 6d 64 2d | 6b 65 79 20 73 79 6d 62 | -- cmd-|key symb|
|000034a0| 6f 6c 20 69 6e 20 43 68 | 69 63 61 67 6f 20 66 6f |ol in Ch|icago fo|
|000034b0| 6e 74 0d 69 66 20 69 74 | 20 69 73 20 65 6d 70 74 |nt.if it| is empt|
|000034c0| 79 20 74 68 65 6e 20 66 | 61 69 6c 0d 70 75 74 20 |y then f|ail.put |
|000034d0| 69 74 20 69 6e 74 6f 20 | 6c 61 79 65 72 0d 65 6e |it into |layer.en|
|000034e0| 64 20 69 66 0d 0d 73 65 | 74 20 63 61 6e 74 41 62 |d if..se|t cantAb|
|000034f0| 6f 72 74 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ort of t|his stac|
|00003500| 6b 20 74 6f 20 66 61 6c | 73 65 0d 0d 73 65 74 20 |k to fal|se..set |
|00003510| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00003520| 69 66 20 67 50 54 5f 47 | 72 6f 75 70 65 64 4f 62 |if gPT_G|roupedOb|
|00003530| 6a 73 42 61 63 6b 54 6f | 46 72 6f 6e 74 20 69 73 |jsBackTo|Front is|
|00003540| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 70 75 74 20 | empty t|hen put |
|00003550| 67 50 54 5f 47 72 6f 75 | 70 65 64 4f 62 6a 73 20 |gPT_Grou|pedObjs |
|00003560| 69 6e 74 6f 20 6f 62 6a | 4c 69 73 74 0d 65 6c 73 |into obj|List.els|
|00003570| 65 20 70 75 74 20 67 50 | 54 5f 47 72 6f 75 70 65 |e put gP|T_Groupe|
|00003580| 64 4f 62 6a 73 42 61 63 | 6b 54 6f 46 72 6f 6e 74 |dObjsBac|kToFront|
|00003590| 20 69 6e 74 6f 20 6f 62 | 6a 4c 69 73 74 0d 6c 6f | into ob|jList.lo|
|000035a0| 63 6b 20 73 63 72 65 65 | 6e 0d 6c 6f 63 6b 20 6d |ck scree|n.lock m|
|000035b0| 65 73 73 61 67 65 73 0d | 70 75 74 20 22 30 20 6f |essages.|put "0 o|
|000035c0| 75 74 20 6f 66 22 20 26 | 26 20 67 50 54 5f 4e 75 |ut of" &|& gPT_Nu|
|000035d0| 6d 4f 62 6a 73 49 6e 47 | 72 6f 75 70 20 26 26 20 |mObjsInG|roup && |
|000035e0| 22 6f 62 6a 65 63 74 73 | 20 64 75 70 6c 69 63 61 |"objects| duplica|
|000035f0| 74 65 64 2e 22 20 69 6e | 74 6f 20 6d 73 67 0d 0d |ted." in|to msg..|
|00003600| 69 66 20 6c 61 79 65 72 | 20 3d 20 22 62 61 63 6b |if layer| = "back|
|00003610| 67 72 6f 75 6e 64 22 20 | 74 68 65 6e 20 73 65 74 |ground" |then set|
|00003620| 20 65 64 69 74 42 6b 67 | 6e 64 20 74 6f 20 74 72 | editBkg|nd to tr|
|00003630| 75 65 0d 65 6c 73 65 20 | 69 66 20 6c 61 79 65 72 |ue.else |if layer|
|00003640| 20 3d 20 22 63 61 72 64 | 22 20 74 68 65 6e 20 73 | = "card|" then s|
|00003650| 65 74 20 65 64 69 74 42 | 6b 67 6e 64 20 74 6f 20 |et editB|kgnd to |
|00003660| 66 61 6c 73 65 0d 0d 72 | 65 70 65 61 74 20 77 69 |false..r|epeat wi|
|00003670| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 67 50 54 5f |th i = 1| to gPT_|
|00003680| 4e 75 6d 4f 62 6a 73 49 | 6e 47 72 6f 75 70 0d 73 |NumObjsI|nGroup.s|
|00003690| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|000036a0| 79 0d 70 75 74 20 69 20 | 69 6e 74 6f 20 77 6f 72 |y.put i |into wor|
|000036b0| 64 20 31 20 6f 66 20 6d | 73 67 0d 70 75 73 68 20 |d 1 of m|sg.push |
|000036c0| 63 64 0d 67 6f 20 77 68 | 65 72 65 47 72 70 49 73 |cd.go wh|ereGrpIs|
|000036d0| 0d 70 75 74 20 6c 69 6e | 65 20 69 20 6f 66 20 6f |.put lin|e i of o|
|000036e0| 62 6a 4c 69 73 74 20 69 | 6e 74 6f 20 6f 62 6a 0d |bjList i|nto obj.|
|000036f0| 70 75 74 20 76 69 73 69 | 62 6c 65 20 6f 66 20 6f |put visi|ble of o|
|00003700| 62 6a 20 69 6e 74 6f 20 | 76 69 73 5f 6f 62 6a 0d |bj into |vis_obj.|
|00003710| 69 66 20 76 69 73 5f 6f | 62 6a 20 3d 20 66 61 6c |if vis_o|bj = fal|
|00003720| 73 65 20 74 68 65 6e 20 | 73 68 6f 77 20 6f 62 6a |se then |show obj|
|00003730| 0d 73 65 6c 65 63 74 20 | 6f 62 6a 0d 74 79 70 65 |.select |obj.type|
|00003740| 20 22 63 22 20 77 69 74 | 68 20 63 6d 64 4b 65 79 | "c" wit|h cmdKey|
|00003750| 0d 69 66 20 76 69 73 5f | 6f 62 6a 20 3d 20 66 61 |.if vis_|obj = fa|
|00003760| 6c 73 65 20 74 68 65 6e | 20 68 69 64 65 20 6f 62 |lse then| hide ob|
|00003770| 6a 0d 70 6f 70 20 63 64 | 0d 69 66 20 6c 61 79 65 |j.pop cd|.if laye|
|00003780| 72 20 3d 20 22 6f 72 69 | 67 69 6e 61 6c 22 20 74 |r = "ori|ginal" t|
|00003790| 68 65 6e 0d 73 65 74 20 | 65 64 69 74 42 6b 67 6e |hen.set |editBkgn|
|000037a0| 64 20 74 6f 20 28 77 6f | 72 64 20 31 20 6f 66 20 |d to (wo|rd 1 of |
|000037b0| 6f 62 6a 20 3d 20 22 62 | 6b 67 6e 64 22 29 0d 74 |obj = "b|kgnd").t|
|000037c0| 79 70 65 20 22 76 22 20 | 77 69 74 68 20 63 6d 64 |ype "v" |with cmd|
|000037d0| 4b 65 79 2c 20 73 68 69 | 66 74 4b 65 79 0d 69 66 |Key, shi|ftKey.if|
|000037e0| 20 76 69 73 5f 6f 62 6a | 20 3d 20 66 61 6c 73 65 | vis_obj| = false|
|000037f0| 20 74 68 65 6e 20 64 6f | 20 22 68 69 64 65 20 6c | then do| "hide l|
|00003800| 61 73 74 22 20 26 26 20 | 77 6f 72 64 20 31 20 74 |ast" && |word 1 t|
|00003810| 6f 20 32 20 6f 66 20 6f | 62 6a 0d 73 65 74 20 63 |o 2 of o|bj.set c|
|00003820| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 65 6c |ursor to| busy.el|
|00003830| 73 65 0d 74 79 70 65 20 | 22 76 22 20 77 69 74 68 |se.type |"v" with|
|00003840| 20 63 6d 64 4b 65 79 2c | 20 73 68 69 66 74 4b 65 | cmdKey,| shiftKe|
|00003850| 79 0d 69 66 20 76 69 73 | 5f 6f 62 6a 20 3d 20 66 |y.if vis|_obj = f|
|00003860| 61 6c 73 65 20 74 68 65 | 6e 20 64 6f 20 22 68 69 |alse the|n do "hi|
|00003870| 64 65 20 6c 61 73 74 22 | 20 26 26 20 71 75 6f 74 |de last"| && quot|
|00003880| 65 20 26 20 6c 61 79 65 | 72 20 26 20 71 75 6f 74 |e & laye|r & quot|
|00003890| 65 20 26 26 20 77 6f 72 | 64 20 32 20 6f 66 20 6f |e && wor|d 2 of o|
|000038a0| 62 6a 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |bj.set c|ursor to|
|000038b0| 20 62 75 73 79 0d 65 6e | 64 20 69 66 0d 65 6e 64 | busy.en|d if.end|
|000038c0| 20 72 65 70 65 61 74 0d | 0d 73 65 74 20 65 64 69 | repeat.|.set edi|
|000038d0| 74 42 6b 67 6e 64 20 74 | 6f 20 66 61 6c 73 65 0d |tBkgnd t|o false.|
|000038e0| 63 68 6f 6f 73 65 20 62 | 72 6f 77 73 65 20 74 6f |choose b|rowse to|
|000038f0| 6f 6c 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |ol.unloc|k screen|
|00003900| 0d 75 6e 68 69 6c 69 74 | 65 42 47 50 61 6c 0d 65 |.unhilit|eBGPal.e|
|00003910| 6e 64 20 64 75 70 6c 69 | 63 61 74 65 47 72 6f 75 |nd dupli|cateGrou|
|00003920| 70 65 64 4f 62 6a 73 0d | 0d 0d 6f 6e 20 64 65 6c |pedObjs.|..on del|
|00003930| 65 74 65 47 72 6f 75 70 | 65 64 4f 62 6a 73 0d 67 |eteGroup|edObjs.g|
|00003940| 6c 6f 62 61 6c 20 20 67 | 50 54 5f 4e 75 6d 4f 62 |lobal g|PT_NumOb|
|00003950| 6a 73 49 6e 47 72 6f 75 | 70 2c 20 67 50 54 5f 47 |jsInGrou|p, gPT_G|
|00003960| 72 6f 75 70 65 64 4f 62 | 6a 73 2c 20 67 50 54 5f |roupedOb|js, gPT_|
|00003970| 57 68 65 72 65 54 68 65 | 47 72 6f 75 70 49 73 0d |WhereThe|GroupIs.|
|00003980| 67 6c 6f 62 61 6c 20 20 | 67 50 54 5f 47 72 6f 75 |global |gPT_Grou|
|00003990| 70 65 64 4f 62 6a 73 42 | 61 63 6b 54 6f 46 72 6f |pedObjsB|ackToFro|
|000039a0| 6e 74 2c 20 67 50 54 5f | 47 72 6f 75 70 65 64 4f |nt, gPT_|GroupedO|
|000039b0| 62 6a 73 4c 65 66 74 54 | 6f 52 74 2c 20 67 50 54 |bjsLeftT|oRt, gPT|
|000039c0| 5f 47 72 6f 75 70 65 64 | 4f 62 6a 73 54 6f 70 54 |_Grouped|ObjsTopT|
|000039d0| 6f 42 6f 74 0d 67 6c 6f | 62 61 6c 20 20 67 50 54 |oBot.glo|bal gPT|
|000039e0| 5f 47 72 6f 75 70 65 64 | 4f 62 6a 73 43 6c 69 63 |_Grouped|ObjsClic|
|000039f0| 6b 4f 72 64 65 72 0d 2d | 2d 2d 2d 0d 2d 2d 20 63 |kOrder.-|---.-- c|
|00003a00| 68 65 63 6b 47 72 6f 75 | 70 65 64 4f 62 6a 73 0d |heckGrou|pedObjs.|
|00003a10| 61 6e 73 77 65 72 20 22 | 44 65 6c 65 74 65 20 74 |answer "|Delete t|
|00003a20| 68 65 20 63 75 72 72 65 | 6e 74 20 67 72 6f 75 70 |he curre|nt group|
|00003a30| 3f 22 20 77 69 74 68 20 | 22 4f 4b 22 20 6f 72 20 |?" with |"OK" or |
|00003a40| 22 43 61 6e 63 65 6c 22 | 0d 69 66 20 28 69 74 20 |"Cancel"|.if (it |
|00003a50| ad 20 22 4f 4b 22 29 20 | 74 68 65 6e 20 66 61 69 |. "OK") |then fai|
|00003a60| 6c 0d 67 6f 20 67 50 54 | 5f 57 68 65 72 65 54 68 |l.go gPT|_WhereTh|
|00003a70| 65 47 72 6f 75 70 49 73 | 0d 63 68 6f 6f 73 65 20 |eGroupIs|.choose |
|00003a80| 62 75 74 74 6f 6e 20 74 | 6f 6f 6c 0d 6c 6f 63 6b |button t|ool.lock|
|00003a90| 20 73 63 72 65 65 6e 0d | 72 65 70 65 61 74 20 77 | screen.|repeat w|
|00003aa0| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 67 50 54 |ith i = |1 to gPT|
|00003ab0| 5f 4e 75 6d 4f 62 6a 73 | 49 6e 47 72 6f 75 70 0d |_NumObjs|InGroup.|
|00003ac0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|00003ad0| 73 79 0d 73 65 6c 65 63 | 74 20 6c 69 6e 65 20 69 |sy.selec|t line i|
|00003ae0| 20 6f 66 20 67 50 54 5f | 47 72 6f 75 70 65 64 4f | of gPT_|GroupedO|
|00003af0| 62 6a 73 0d 74 79 70 65 | 20 6e 75 6d 54 6f 43 68 |bjs.type| numToCh|
|00003b00| 61 72 28 38 29 20 20 20 | 20 20 20 20 20 20 20 20 |ar(8) | |
|00003b10| 2d 2d 20 64 65 6c 65 74 | 65 20 6b 65 79 0d 65 6e |-- delet|e key.en|
|00003b20| 64 20 72 65 70 65 61 74 | 0d 75 6e 6c 6f 63 6b 20 |d repeat|.unlock |
|00003b30| 73 63 72 65 65 6e 0d 75 | 6e 68 69 6c 69 74 65 42 |screen.u|nhiliteB|
|00003b40| 47 50 61 6c 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |GPal.put| empty i|
|00003b50| 6e 74 6f 20 67 50 54 5f | 47 72 6f 75 70 65 64 4f |nto gPT_|GroupedO|
|00003b60| 62 6a 73 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |bjs.put |empty in|
|00003b70| 74 6f 20 67 50 54 5f 47 | 72 6f 75 70 65 64 4f 62 |to gPT_G|roupedOb|
|00003b80| 6a 73 42 61 63 6b 54 6f | 46 72 6f 6e 74 0d 70 75 |jsBackTo|Front.pu|
|00003b90| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 67 50 54 |t empty |into gPT|
|00003ba0| 5f 47 72 6f 75 70 65 64 | 4f 62 6a 73 4c 65 66 74 |_Grouped|ObjsLeft|
|00003bb0| 54 6f 52 74 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |ToRt.put| empty i|
|00003bc0| 6e 74 6f 20 67 50 54 5f | 47 72 6f 75 70 65 64 4f |nto gPT_|GroupedO|
|00003bd0| 62 6a 73 54 6f 70 54 6f | 42 6f 74 0d 70 75 74 20 |bjsTopTo|Bot.put |
|00003be0| 65 6d 70 74 79 20 69 6e | 74 6f 20 67 50 54 5f 47 |empty in|to gPT_G|
|00003bf0| 72 6f 75 70 65 64 4f 62 | 6a 73 43 6c 69 63 6b 4f |roupedOb|jsClickO|
|00003c00| 72 64 65 72 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |rder.put| empty i|
|00003c10| 6e 74 6f 20 67 50 54 5f | 4e 75 6d 4f 62 6a 73 49 |nto gPT_|NumObjsI|
|00003c20| 6e 47 72 6f 75 70 0d 70 | 75 74 20 65 6d 70 74 79 |nGroup.p|ut empty|
|00003c30| 20 69 6e 74 6f 20 67 50 | 54 5f 57 68 65 72 65 54 | into gP|T_WhereT|
|00003c40| 68 65 47 72 6f 75 70 49 | 73 0d 63 68 6f 6f 73 65 |heGroupI|s.choose|
|00003c50| 20 62 72 6f 77 73 65 20 | 74 6f 6f 6c 0d 65 6e 64 | browse |tool.end|
|00003c60| 20 64 65 6c 65 74 65 47 | 72 6f 75 70 65 64 4f 62 | deleteG|roupedOb|
|00003c70| 6a 73 0d 0d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 6f 6e 20 |js..----|----.on |
|00003c80| 62 67 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |bg.if th|ere is a|
|00003c90| 20 77 69 6e 64 6f 77 20 | 22 42 65 74 74 65 72 20 | window |"Better |
|00003ca0| 47 72 6f 75 70 65 72 22 | 20 74 68 65 6e 20 63 6c |Grouper"| then cl|
|00003cb0| 6f 73 65 20 77 69 6e 64 | 6f 77 20 22 42 65 74 74 |ose wind|ow "Bett|
|00003cc0| 65 72 20 47 72 6f 75 70 | 65 72 22 0d 65 6c 73 65 |er Group|er".else|
|00003cd0| 20 70 61 6c 65 74 74 65 | 20 22 42 65 74 74 65 72 | palette| "Better|
|00003ce0| 20 47 72 6f 75 70 65 72 | 22 0d 69 66 20 74 68 65 | Grouper|".if the|
|00003cf0| 20 72 65 73 75 6c 74 20 | 69 73 20 6e 6f 74 20 65 | result |is not e|
|00003d00| 6d 70 74 79 20 74 68 65 | 6e 20 61 6e 73 77 65 72 |mpty the|n answer|
|00003d10| 20 74 68 65 20 72 65 73 | 75 6c 74 0d 65 6e 64 20 | the res|ult.end |
|00003d20| 62 67 0d 0d 6f 6e 20 66 | 61 69 6c 20 77 68 61 74 |bg..on f|ail what|
|00003d30| 0d 75 6e 68 69 6c 69 74 | 65 42 47 50 61 6c 0d 69 |.unhilit|eBGPal.i|
|00003d40| 66 20 77 68 61 74 20 69 | 73 20 6e 6f 74 20 65 6d |f what i|s not em|
|00003d50| 70 74 79 20 74 68 65 6e | 0d 62 65 65 70 0d 61 6e |pty then|.beep.an|
|00003d60| 73 77 65 72 20 77 68 61 | 74 0d 65 6e 64 20 69 66 |swer wha|t.end if|
|00003d70| 0d 65 78 69 74 20 74 6f | 20 68 79 70 65 72 43 61 |.exit to| hyperCa|
|00003d80| 72 64 0d 65 6e 64 20 66 | 61 69 6c 0d 0d 6f 6e 20 |rd.end f|ail..on |
|00003d90| 63 6f 6e 66 69 72 6d 20 | 77 68 61 74 0d 61 6e 73 |confirm |what.ans|
|00003da0| 77 65 72 20 77 68 61 74 | 20 77 69 74 68 20 22 43 |wer what| with "C|
|00003db0| 61 6e 63 65 6c 22 20 6f | 72 20 22 4f 4b 22 0d 69 |ancel" o|r "OK".i|
|00003dc0| 66 20 69 74 20 3d 20 22 | 43 61 6e 63 65 6c 22 20 |f it = "|Cancel" |
|00003dd0| 74 68 65 6e 0d 75 6e 68 | 69 6c 69 74 65 42 47 50 |then.unh|iliteBGP|
|00003de0| 61 6c 0d 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |al.exit |to Hyper|
|00003df0| 43 61 72 64 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |Card.end| if.end |
|00003e00| 63 6f 6e 66 69 72 6d 0d | 0d 0d 6f 6e 20 63 68 65 |confirm.|..on che|
|00003e10| 63 6b 47 72 6f 75 70 65 | 64 4f 62 6a 73 0d 67 6c |ckGroupe|dObjs.gl|
|00003e20| 6f 62 61 6c 20 67 50 54 | 5f 47 72 6f 75 70 65 64 |obal gPT|_Grouped|
|00003e30| 4f 62 6a 73 2c 20 67 50 | 54 5f 4e 75 6d 4f 62 6a |Objs, gP|T_NumObj|
|00003e40| 73 49 6e 47 72 6f 75 70 | 2c 20 67 50 54 5f 57 68 |sInGroup|, gPT_Wh|
|00003e50| 65 72 65 54 68 65 47 72 | 6f 75 70 49 73 0d 2d 2d |ereTheGr|oupIs.--|
|00003e60| 2d 2d 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |--.set c|ursor to|
|00003e70| 20 77 61 74 63 68 0d 69 | 66 20 67 50 54 5f 47 72 | watch.i|f gPT_Gr|
|00003e80| 6f 75 70 65 64 4f 62 6a | 73 20 69 73 20 65 6d 70 |oupedObj|s is emp|
|00003e90| 74 79 20 6f 72 20 67 50 | 54 5f 4e 75 6d 4f 62 6a |ty or gP|T_NumObj|
|00003ea0| 73 49 6e 47 72 6f 75 70 | 20 69 73 20 65 6d 70 74 |sInGroup| is empt|
|00003eb0| 79 20 6f 72 20 67 50 54 | 5f 57 68 65 72 65 54 68 |y or gPT|_WhereTh|
|00003ec0| 65 47 72 6f 75 70 49 73 | 20 69 73 20 65 6d 70 74 |eGroupIs| is empt|
|00003ed0| 79 20 74 68 65 6e 0d 66 | 61 69 6c 20 22 4e 6f 20 |y then.f|ail "No |
|00003ee0| 6f 62 6a 65 63 74 73 20 | 68 61 76 65 20 62 65 65 |objects |have bee|
|00003ef0| 6e 20 67 72 6f 75 70 65 | 64 2e 22 0d 65 6e 64 20 |n groupe|d.".end |
|00003f00| 69 66 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 6c |if.lock |screen.l|
|00003f10| 6f 63 6b 20 6d 65 73 73 | 61 67 65 73 0d 70 75 73 |ock mess|ages.pus|
|00003f20| 68 20 63 64 0d 67 6f 20 | 67 50 54 5f 57 68 65 72 |h cd.go |gPT_Wher|
|00003f30| 65 54 68 65 47 72 6f 75 | 70 49 73 0d 72 65 70 65 |eTheGrou|pIs.repe|
|00003f40| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|00003f50| 20 67 50 54 5f 4e 75 6d | 4f 62 6a 73 49 6e 47 72 | gPT_Num|ObjsInGr|
|00003f60| 6f 75 70 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |oup.set |cursor t|
|00003f70| 6f 20 62 75 73 79 0d 69 | 66 20 6e 6f 74 20 6f 62 |o busy.i|f not ob|
|00003f80| 6a 45 78 69 73 74 73 28 | 6c 69 6e 65 20 69 20 6f |jExists(|line i o|
|00003f90| 66 20 67 50 54 5f 47 72 | 6f 75 70 65 64 4f 62 6a |f gPT_Gr|oupedObj|
|00003fa0| 73 29 20 74 68 65 6e 20 | 64 65 6c 65 74 65 20 6c |s) then |delete l|
|00003fb0| 69 6e 65 20 69 20 6f 66 | 20 67 50 54 5f 47 72 6f |ine i of| gPT_Gro|
|00003fc0| 75 70 65 64 4f 62 6a 73 | 0d 65 6e 64 20 72 65 70 |upedObjs|.end rep|
|00003fd0| 65 61 74 0d 70 75 74 20 | 74 68 65 20 6e 75 6d 62 |eat.put |the numb|
|00003fe0| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 69 6e 20 67 |er of li|nes in g|
|00003ff0| 50 54 5f 47 72 6f 75 70 | 65 64 4f 62 6a 73 20 69 |PT_Group|edObjs i|
|00004000| 6e 74 6f 20 67 50 54 5f | 4e 75 6d 4f 62 6a 73 49 |nto gPT_|NumObjsI|
|00004010| 6e 47 72 6f 75 70 0d 70 | 6f 70 20 63 64 0d 75 6e |nGroup.p|op cd.un|
|00004020| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 69 66 20 47 |lock scr|een.if G|
|00004030| 72 6f 75 70 65 64 4f 62 | 6a 73 20 3d 20 65 6d 70 |roupedOb|js = emp|
|00004040| 74 79 20 74 68 65 6e 20 | 66 61 69 6c 20 22 4e 6f |ty then |fail "No|
|00004050| 20 6f 62 6a 65 63 74 73 | 20 68 61 76 65 20 62 65 | objects| have be|
|00004060| 65 6e 20 67 72 6f 75 70 | 65 64 2e 22 0d 65 6e 64 |en group|ed.".end|
|00004070| 20 63 68 65 63 6b 47 72 | 6f 75 70 65 64 4f 62 6a | checkGr|oupedObj|
|00004080| 73 0d 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 6f 62 6a |s...func|tion obj|
|00004090| 45 78 69 73 74 73 20 6f | 62 6a 0d 64 6f 20 22 70 |Exists o|bj.do "p|
|000040a0| 75 74 20 74 68 65 72 65 | 20 69 73 20 61 22 20 26 |ut there| is a" &|
|000040b0| 26 20 6f 62 6a 20 26 26 | 20 22 69 6e 74 6f 20 6f |& obj &&| "into o|
|000040c0| 75 72 56 61 6c 75 65 22 | 0d 72 65 74 75 72 6e 20 |urValue"|.return |
|000040d0| 6f 75 72 56 61 6c 75 65 | 0d 65 6e 64 20 6f 62 6a |ourValue|.end obj|
|000040e0| 45 78 69 73 74 73 0d 0d | 0d 6f 6e 20 75 6e 68 69 |Exists..|.on unhi|
|000040f0| 6c 69 74 65 42 47 50 61 | 6c 0d 69 66 20 74 68 65 |liteBGPa|l.if the|
|00004100| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 22 |re is a |window "|
|00004110| 42 65 74 74 65 72 20 47 | 72 6f 75 70 65 72 22 0d |Better G|rouper".|
|00004120| 74 68 65 6e 20 73 65 74 | 20 68 69 6c 69 74 65 64 |then set| hilited|
|00004130| 42 75 74 74 6f 6e 20 6f | 66 20 77 69 6e 64 6f 77 |Button o|f window|
|00004140| 20 22 42 65 74 74 65 72 | 20 47 72 6f 75 70 65 72 | "Better| Grouper|
|00004150| 22 20 74 6f 20 30 0d 65 | 6e 64 20 75 6e 68 69 6c |" to 0.e|nd unhil|
|00004160| 69 74 65 42 47 50 61 6c | 0d 0d a5 a5 a5 a5 a5 a5 |iteBGPal|........|
|00004170| a5 a5 a5 a5 a5 a5 a5 a5 | a5 20 45 4e 44 20 4f 46 |........|. END OF|
|00004180| 20 22 42 45 54 54 45 52 | 20 47 52 4f 55 50 45 52 | "BETTER| GROUPER|
|00004190| 22 20 48 41 4e 44 4c 45 | 52 53 20 20 a5 a5 a5 a5 |" HANDLE|RS ....|
|000041a0| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |........|........|
|000041b0| 0d 0d a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 20 22 |........|...... "|
|000041c0| 53 55 50 45 52 20 47 52 | 4f 55 50 45 52 22 20 48 |SUPER GR|OUPER" H|
|000041d0| 41 4e 44 4c 45 52 53 20 | 46 52 4f 4d 20 22 50 4f |ANDLERS |FROM "PO|
|000041e0| 57 45 52 20 54 4f 4f 4c | 53 22 20 53 54 41 43 4b |WER TOOL|S" STACK|
|000041f0| 20 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 | .......|........|
|00004200| 0d 0d 6f 6e 20 73 67 0d | 69 66 20 22 53 75 70 65 |..on sg.|if "Supe|
|00004210| 72 20 47 72 6f 75 70 65 | 72 22 20 69 73 20 69 6e |r Groupe|r" is in|
|00004220| 20 74 68 65 20 77 69 6e | 64 6f 77 73 0d 74 68 65 | the win|dows.the|
|00004230| 6e 20 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 22 |n close |window "|
|00004240| 53 75 70 65 72 20 47 72 | 6f 75 70 65 72 22 20 2d |Super Gr|ouper" -|
|00004250| 2d 20 c6 0d 65 6c 73 65 | 20 70 61 6c 65 74 74 65 |- ..else| palette|
|00004260| 20 22 53 75 70 65 72 20 | 47 72 6f 75 70 65 72 22 | "Super |Grouper"|
|00004270| 20 2d 2d 20 c6 0d 65 6e | 64 20 73 67 0d 0d 6f 6e | -- ..en|d sg..on|
|00004280| 20 66 61 69 6c 20 77 68 | 61 74 0d 75 6e 48 69 6c | fail wh|at.unHil|
|00004290| 69 74 65 50 61 6c 65 74 | 74 65 42 74 6e 0d 62 65 |itePalet|teBtn.be|
|000042a0| 65 70 0d 61 6e 73 77 65 | 72 20 77 68 61 74 0d 65 |ep.answe|r what.e|
|000042b0| 78 69 74 20 74 6f 20 68 | 79 70 65 72 43 61 72 64 |xit to h|yperCard|
|000042c0| 0d 65 6e 64 20 66 61 69 | 6c 0d 0d 6f 6e 20 63 6f |.end fai|l..on co|
|000042d0| 6e 66 69 72 6d 20 77 68 | 61 74 0d 61 6e 73 77 65 |nfirm wh|at.answe|
|000042e0| 72 20 77 68 61 74 20 77 | 69 74 68 20 22 43 61 6e |r what w|ith "Can|
|000042f0| 63 65 6c 22 20 6f 72 20 | 22 4f 4b 22 20 2d 2d 20 |cel" or |"OK" -- |
|00004300| c6 0d 69 66 20 69 74 20 | 69 73 20 22 43 61 6e 63 |..if it |is "Canc|
|00004310| 65 6c 22 20 74 68 65 6e | 20 2d 2d 20 c6 0d 75 6e |el" then| -- ..un|
|00004320| 48 69 6c 69 74 65 50 61 | 6c 65 74 74 65 42 74 6e |HilitePa|letteBtn|
|00004330| 0d 65 78 69 74 20 74 6f | 20 68 79 70 65 72 43 61 |.exit to| hyperCa|
|00004340| 72 64 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 63 6f |rd.end i|f.end co|
|00004350| 6e 66 69 72 6d 0d 0d 6f | 6e 20 63 68 65 63 6b 47 |nfirm..o|n checkG|
|00004360| 72 6f 75 70 0d 67 6c 6f | 62 61 6c 20 4f 62 6a 65 |roup.glo|bal Obje|
|00004370| 63 74 4c 69 73 74 0d 69 | 66 20 4f 62 6a 65 63 74 |ctList.i|f Object|
|00004380| 4c 69 73 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |List is |empty th|
|00004390| 65 6e 0d 62 65 65 70 0d | 75 6e 48 69 6c 69 74 65 |en.beep.|unHilite|
|000043a0| 50 61 6c 65 74 74 65 42 | 74 6e 0d 66 61 69 6c 20 |PaletteB|tn.fail |
|000043b0| 22 4e 6f 20 6f 62 6a 65 | 63 74 73 20 68 61 76 65 |"No obje|cts have|
|000043c0| 20 62 65 65 6e 20 67 72 | 6f 75 70 65 64 2e 22 20 | been gr|ouped." |
|000043d0| 2d 2d 20 c6 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |-- ..end| if.end |
|000043e0| 63 68 65 63 6b 47 72 6f | 75 70 0d 0d 6f 6e 20 75 |checkGro|up..on u|
|000043f0| 6e 48 69 6c 69 74 65 50 | 61 6c 65 74 74 65 42 74 |nHiliteP|aletteBt|
|00004400| 6e 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |n.if the|re is a |
|00004410| 77 69 6e 64 6f 77 20 22 | 53 75 70 65 72 20 47 72 |window "|Super Gr|
|00004420| 6f 75 70 65 72 22 20 2d | 2d 20 c6 0d 74 68 65 6e |ouper" -|- ..then|
|00004430| 20 73 65 74 20 68 69 6c | 69 74 65 64 42 75 74 74 | set hil|itedButt|
|00004440| 6f 6e 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 53 75 |on of wi|ndow "Su|
|00004450| 70 65 72 20 47 72 6f 75 | 70 65 72 22 20 74 6f 20 |per Grou|per" to |
|00004460| 30 20 2d 2d 20 c6 0d 65 | 6e 64 20 75 6e 48 69 6c |0 -- ..e|nd unHil|
|00004470| 69 74 65 50 61 6c 65 74 | 74 65 42 74 6e 0d 0d 6f |itePalet|teBtn..o|
|00004480| 6e 20 73 74 61 72 74 47 | 72 6f 75 70 69 6e 67 0d |n startG|rouping.|
|00004490| 67 6c 6f 62 61 6c 20 4f | 62 6a 65 63 74 4c 69 73 |global O|bjectLis|
|000044a0| 74 2c 4e 75 6d 62 65 72 | 4f 66 49 74 65 6d 73 2c |t,Number|OfItems,|
|000044b0| 57 68 65 72 65 54 68 65 | 47 72 6f 75 70 49 73 0d |WhereThe|GroupIs.|
|000044c0| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 4f |put empt|y into O|
|000044d0| 62 6a 65 63 74 4c 69 73 | 74 0d 70 75 74 20 65 6d |bjectLis|t.put em|
|000044e0| 70 74 79 20 69 6e 74 6f | 20 57 68 65 72 65 54 68 |pty into| WhereTh|
|000044f0| 65 47 72 6f 75 70 49 73 | 0d 69 66 20 74 68 65 20 |eGroupIs|.if the |
|00004500| 6f 70 74 69 6f 6e 4b 65 | 79 20 69 73 20 64 6f 77 |optionKe|y is dow|
|00004510| 6e 20 74 68 65 6e 0d 63 | 6f 6e 66 69 72 6d 20 22 |n then.c|onfirm "|
|00004520| 57 69 74 68 20 6d 6f 75 | 73 65 20 64 6f 77 6e 20 |With mou|se down |
|00004530| 64 72 61 67 20 6d 61 72 | 63 68 69 6e 67 20 61 6e |drag mar|ching an|
|00004540| 74 73 20 74 6f 20 69 6e | 63 6c 75 64 65 20 62 75 |ts to in|clude bu|
|00004550| 74 74 6f 6e 73 22 20 26 | 26 c2 0d 22 61 6e 64 20 |ttons" &|&.."and |
|00004560| 66 69 65 6c 64 73 20 79 | 6f 75 20 77 61 6e 74 20 |fields y|ou want |
|00004570| 67 72 6f 75 70 65 64 2e | 22 20 2d 2d 20 c6 0d 70 |grouped.|" -- ..p|
|00004580| 75 74 20 41 6e 74 73 28 | 29 20 69 6e 74 6f 20 73 |ut Ants(|) into s|
|00004590| 65 6c 65 63 74 52 65 63 | 74 0d 77 69 74 68 69 6e |electRec|t.within|
|000045a0| 52 65 63 74 20 73 65 6c | 65 63 74 52 65 63 74 0d |Rect sel|ectRect.|
|000045b0| 65 6c 73 65 0d 72 65 70 | 65 61 74 0d 73 65 74 20 |else.rep|eat.set |
|000045c0| 63 75 72 73 6f 72 20 74 | 6f 20 33 0d 69 66 20 74 |cursor t|o 3.if t|
|000045d0| 68 65 20 6d 6f 75 73 65 | 43 6c 69 63 6b 20 74 68 |he mouse|Click th|
|000045e0| 65 6e 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |en.set c|ursor to|
|000045f0| 20 77 61 74 63 68 0d 70 | 75 74 20 69 74 65 6d 43 | watch.p|ut itemC|
|00004600| 6c 69 63 6b 65 64 28 74 | 68 65 20 63 6c 69 63 6b |licked(t|he click|
|00004610| 4c 6f 63 29 20 69 6e 74 | 6f 20 68 69 74 57 68 61 |Loc) int|o hitWha|
|00004620| 74 0d 69 66 20 28 28 68 | 69 74 57 68 61 74 20 69 |t.if ((h|itWhat i|
|00004630| 73 20 6e 6f 74 20 65 6d | 70 74 79 29 20 61 6e 64 |s not em|pty) and|
|00004640| 20 28 68 69 74 57 68 61 | 74 20 69 73 20 6e 6f 74 | (hitWha|t is not|
|00004650| 20 69 6e 20 4f 62 6a 65 | 63 74 4c 69 73 74 29 29 | in Obje|ctList))|
|00004660| 0d 74 68 65 6e 0d 70 75 | 74 20 68 69 74 57 68 61 |.then.pu|t hitWha|
|00004670| 74 20 26 20 22 2c 22 20 | 61 66 74 65 72 20 4f 62 |t & "," |after Ob|
|00004680| 6a 65 63 74 4c 69 73 74 | 0d 66 6c 61 73 68 52 65 |jectList|.flashRe|
|00004690| 63 74 20 72 65 63 74 20 | 6f 66 20 68 69 74 57 68 |ct rect |of hitWh|
|000046a0| 61 74 2c 32 30 0d 65 6c | 73 65 20 65 78 69 74 20 |at,20.el|se exit |
|000046b0| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 65 6e |repeat.e|nd if.en|
|000046c0| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |d repeat|.end if.|
|000046d0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 61 72 |set curs|or to ar|
|000046e0| 72 6f 77 0d 69 66 20 4f | 62 6a 65 63 74 4c 69 73 |row.if O|bjectLis|
|000046f0| 74 20 ad 20 65 6d 70 74 | 79 20 74 68 65 6e 20 64 |t . empt|y then d|
|00004700| 65 6c 65 74 65 20 6c 61 | 73 74 20 63 68 61 72 20 |elete la|st char |
|00004710| 6f 66 20 4f 62 6a 65 63 | 74 4c 69 73 74 0d 70 75 |of Objec|tList.pu|
|00004720| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t the nu|mber of |
|00004730| 69 74 65 6d 73 20 69 6e | 20 4f 62 6a 65 63 74 4c |items in| ObjectL|
|00004740| 69 73 74 20 69 6e 74 6f | 20 4e 75 6d 62 65 72 4f |ist into| NumberO|
|00004750| 66 49 74 65 6d 73 0d 75 | 6e 48 69 6c 69 74 65 50 |fItems.u|nHiliteP|
|00004760| 61 6c 65 74 74 65 42 74 | 6e 0d 72 65 70 65 61 74 |aletteBt|n.repeat|
|00004770| 20 77 69 74 68 20 63 6f | 75 6e 74 20 3d 20 31 20 | with co|unt = 1 |
|00004780| 74 6f 20 4e 75 6d 62 65 | 72 4f 66 49 74 65 6d 73 |to Numbe|rOfItems|
|00004790| 0d 66 6c 61 73 68 52 65 | 63 74 20 72 65 63 74 20 |.flashRe|ct rect |
|000047a0| 6f 66 20 69 74 65 6d 20 | 63 6f 75 6e 74 20 6f 66 |of item |count of|
|000047b0| 20 4f 62 6a 65 63 74 4c | 69 73 74 2c 31 30 0d 65 | ObjectL|ist,10.e|
|000047c0| 6e 64 20 72 65 70 65 61 | 74 0d 70 75 74 20 74 68 |nd repea|t.put th|
|000047d0| 65 20 6c 6f 6e 67 20 69 | 64 20 6f 66 20 74 68 69 |e long i|d of thi|
|000047e0| 73 20 63 61 72 64 20 69 | 6e 74 6f 20 57 68 65 72 |s card i|nto Wher|
|000047f0| 65 54 68 65 47 72 6f 75 | 70 49 73 0d 63 68 6f 6f |eTheGrou|pIs.choo|
|00004800| 73 65 20 62 72 6f 77 73 | 65 20 74 6f 6f 6c 0d 65 |se brows|e tool.e|
|00004810| 6e 64 20 73 74 61 72 74 | 47 72 6f 75 70 69 6e 67 |nd start|Grouping|
|00004820| 0d 0d 6f 6e 20 77 69 74 | 68 69 6e 52 65 63 74 20 |..on wit|hinRect |
|00004830| 73 65 6c 65 63 74 52 65 | 63 74 0d 67 6c 6f 62 61 |selectRe|ct.globa|
|00004840| 6c 20 4f 62 6a 65 63 74 | 4c 69 73 74 0d 70 75 74 |l Object|List.put|
|00004850| 20 22 63 64 20 62 74 6e | 2c 63 64 20 66 6c 64 2c | "cd btn|,cd fld,|
|00004860| 62 67 20 62 74 6e 2c 62 | 67 20 66 6c 64 22 20 69 |bg btn,b|g fld" i|
|00004870| 6e 74 6f 20 6c 69 73 74 | 0d 72 65 70 65 61 74 20 |nto list|.repeat |
|00004880| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 34 0d |with i =| 1 to 4.|
|00004890| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|000048a0| 73 79 0d 70 75 74 20 69 | 74 65 6d 20 69 20 6f 66 |sy.put i|tem i of|
|000048b0| 20 6c 69 73 74 20 69 6e | 74 6f 20 6f 62 6a 65 63 | list in|to objec|
|000048c0| 74 0d 70 75 74 20 69 74 | 65 6d 20 69 20 6f 66 20 |t.put it|em i of |
|000048d0| 6c 69 73 74 20 26 20 22 | 73 22 20 69 6e 74 6f 20 |list & "|s" into |
|000048e0| 6f 62 6a 65 63 74 73 0d | 70 75 74 20 74 68 65 20 |objects.|put the |
|000048f0| 6e 75 6d 62 65 72 20 6f | 66 20 6f 62 6a 65 63 74 |number o|f object|
|00004900| 73 20 69 6e 74 6f 20 6e | 75 6d 62 65 72 4f 66 4f |s into n|umberOfO|
|00004910| 62 6a 65 63 74 73 0d 72 | 65 70 65 61 74 20 77 69 |bjects.r|epeat wi|
|00004920| 74 68 20 69 20 3d 20 6e | 75 6d 62 65 72 4f 66 4f |th i = n|umberOfO|
|00004930| 62 6a 65 63 74 73 20 64 | 6f 77 6e 20 74 6f 20 31 |bjects d|own to 1|
|00004940| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|00004950| 75 73 79 0d 69 66 20 49 | 6e 74 65 72 73 65 63 74 |usy.if I|ntersect|
|00004960| 52 65 63 74 28 72 65 63 | 74 20 6f 66 20 28 6f 62 |Rect(rec|t of (ob|
|00004970| 6a 65 63 74 20 26 26 20 | 69 29 2c 73 65 6c 65 63 |ject && |i),selec|
|00004980| 74 52 65 63 74 29 20 74 | 68 65 6e 0d 69 66 20 76 |tRect) t|hen.if v|
|00004990| 69 73 69 62 6c 65 20 6f | 66 20 28 6f 62 6a 65 63 |isible o|f (objec|
|000049a0| 74 20 26 26 20 69 29 0d | 74 68 65 6e 20 70 75 74 |t && i).|then put|
|000049b0| 20 28 6f 62 6a 65 63 74 | 20 26 26 20 22 69 64 22 | (object| && "id"|
|000049c0| 29 20 26 26 20 28 74 68 | 65 20 69 64 20 6f 66 20 |) && (th|e id of |
|000049d0| 28 6f 62 6a 65 63 74 20 | 26 26 20 69 29 29 c2 0d |(object |&& i))..|
|000049e0| 26 20 22 2c 22 20 61 66 | 74 65 72 20 4f 62 6a 65 |& "," af|ter Obje|
|000049f0| 63 74 4c 69 73 74 0d 65 | 6e 64 20 69 66 0d 65 6e |ctList.e|nd if.en|
|00004a00| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 72 65 70 |d repeat|.end rep|
|00004a10| 65 61 74 0d 65 6e 64 20 | 77 69 74 68 69 6e 52 65 |eat.end |withinRe|
|00004a20| 63 74 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 69 74 65 |ct..func|tion ite|
|00004a30| 6d 43 6c 69 63 6b 65 64 | 20 77 68 65 72 65 0d 70 |mClicked| where.p|
|00004a40| 75 74 20 22 63 64 20 62 | 74 6e 2c 63 64 20 66 6c |ut "cd b|tn,cd fl|
|00004a50| 64 2c 62 67 20 62 74 6e | 2c 62 67 20 66 6c 64 22 |d,bg btn|,bg fld"|
|00004a60| 20 69 6e 74 6f 20 6c 69 | 73 74 0d 72 65 70 65 61 | into li|st.repea|
|00004a70| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00004a80| 34 0d 70 75 74 20 69 74 | 65 6d 20 69 20 6f 66 20 |4.put it|em i of |
|00004a90| 6c 69 73 74 20 69 6e 74 | 6f 20 6f 62 6a 65 63 74 |list int|o object|
|00004aa0| 0d 70 75 74 20 69 74 65 | 6d 20 69 20 6f 66 20 6c |.put ite|m i of l|
|00004ab0| 69 73 74 20 26 20 22 73 | 22 20 69 6e 74 6f 20 6f |ist & "s|" into o|
|00004ac0| 62 6a 65 63 74 73 0d 70 | 75 74 20 74 68 65 20 6e |bjects.p|ut the n|
|00004ad0| 75 6d 62 65 72 20 6f 66 | 20 6f 62 6a 65 63 74 73 |umber of| objects|
|00004ae0| 20 69 6e 74 6f 20 6e 75 | 6d 62 65 72 4f 66 4f 62 | into nu|mberOfOb|
|00004af0| 6a 65 63 74 73 0d 72 65 | 70 65 61 74 20 77 69 74 |jects.re|peat wit|
|00004b00| 68 20 69 20 3d 20 6e 75 | 6d 62 65 72 4f 66 4f 62 |h i = nu|mberOfOb|
|00004b10| 6a 65 63 74 73 20 64 6f | 77 6e 20 74 6f 20 31 0d |jects do|wn to 1.|
|00004b20| 69 66 20 77 68 65 72 65 | 20 69 73 20 77 69 74 68 |if where| is with|
|00004b30| 69 6e 20 72 65 63 74 20 | 6f 66 20 28 6f 62 6a 65 |in rect |of (obje|
|00004b40| 63 74 20 26 26 20 69 29 | 20 74 68 65 6e 0d 69 66 |ct && i)| then.if|
|00004b50| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 28 6f 62 6a | visible| of (obj|
|00004b60| 65 63 74 20 26 26 20 69 | 29 0d 74 68 65 6e 20 72 |ect && i|).then r|
|00004b70| 65 74 75 72 6e 20 28 6f | 62 6a 65 63 74 20 26 26 |eturn (o|bject &&|
|00004b80| 20 22 69 64 22 29 20 26 | 26 20 28 74 68 65 20 69 | "id") &|& (the i|
|00004b90| 64 20 6f 66 20 28 6f 62 | 6a 65 63 74 20 26 26 20 |d of (ob|ject && |
|00004ba0| 69 29 29 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |i)).end |if.end r|
|00004bb0| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|00004bc0| 0d 72 65 74 75 72 6e 20 | 65 6d 70 74 79 0d 65 6e |.return |empty.en|
|00004bd0| 64 20 69 74 65 6d 43 6c | 69 63 6b 65 64 0d 0d 6f |d itemCl|icked..o|
|00004be0| 6e 20 6d 6f 76 65 4f 62 | 6a 65 63 74 73 0d 67 6c |n moveOb|jects.gl|
|00004bf0| 6f 62 61 6c 20 4e 75 6d | 62 65 72 4f 66 49 74 65 |obal Num|berOfIte|
|00004c00| 6d 73 2c 4f 62 6a 65 63 | 74 4c 69 73 74 2c 57 68 |ms,Objec|tList,Wh|
|00004c10| 65 72 65 54 68 65 47 72 | 6f 75 70 49 73 0d 63 68 |ereTheGr|oupIs.ch|
|00004c20| 65 63 6b 47 72 6f 75 70 | 0d 67 6f 20 57 68 65 72 |eckGroup|.go Wher|
|00004c30| 65 54 68 65 47 72 6f 75 | 70 49 73 0d 73 65 74 20 |eTheGrou|pIs.set |
|00004c40| 63 75 72 73 6f 72 20 74 | 6f 20 61 72 72 6f 77 0d |cursor t|o arrow.|
|00004c50| 77 61 69 74 20 75 6e 74 | 69 6c 20 74 68 65 20 6d |wait unt|il the m|
|00004c60| 6f 75 73 65 43 6c 69 63 | 6b 0d 70 75 74 20 74 68 |ouseClic|k.put th|
|00004c70| 65 20 63 6c 69 63 6b 4c | 6f 63 20 69 6e 74 6f 20 |e clickL|oc into |
|00004c80| 74 68 69 73 4c 6f 63 0d | 72 65 70 65 61 74 20 77 |thisLoc.|repeat w|
|00004c90| 68 69 6c 65 20 74 68 65 | 20 6d 6f 75 73 65 20 69 |hile the| mouse i|
|00004ca0| 73 20 64 6f 77 6e 0d 70 | 75 74 20 74 68 69 73 4c |s down.p|ut thisL|
|00004cb0| 6f 63 20 69 6e 74 6f 20 | 6c 61 73 74 4c 6f 63 0d |oc into |lastLoc.|
|00004cc0| 70 75 74 20 74 68 65 20 | 6d 6f 75 73 65 4c 6f 63 |put the |mouseLoc|
|00004cd0| 20 69 6e 74 6f 20 74 68 | 69 73 4c 6f 63 0d 69 66 | into th|isLoc.if|
|00004ce0| 20 74 68 69 73 4c 6f 63 | 20 69 73 20 6e 6f 74 20 | thisLoc| is not |
|00004cf0| 6c 61 73 74 4c 6f 63 20 | 74 68 65 6e 0d 70 75 74 |lastLoc |then.put|
|00004d00| 20 28 69 74 65 6d 20 31 | 20 6f 66 20 74 68 69 73 | (item 1| of this|
|00004d10| 4c 6f 63 20 2d 20 69 74 | 65 6d 20 31 20 6f 66 20 |Loc - it|em 1 of |
|00004d20| 6c 61 73 74 4c 6f 63 29 | 20 69 6e 74 6f 20 64 65 |lastLoc)| into de|
|00004d30| 6c 74 61 58 0d 70 75 74 | 20 28 69 74 65 6d 20 32 |ltaX.put| (item 2|
|00004d40| 20 6f 66 20 74 68 69 73 | 4c 6f 63 20 2d 20 69 74 | of this|Loc - it|
|00004d50| 65 6d 20 32 20 6f 66 20 | 6c 61 73 74 4c 6f 63 29 |em 2 of |lastLoc)|
|00004d60| 20 69 6e 74 6f 20 64 65 | 6c 74 61 59 0d 6c 6f 63 | into de|ltaY.loc|
|00004d70| 6b 20 73 63 72 65 65 6e | 0d 72 65 70 65 61 74 20 |k screen|.repeat |
|00004d80| 77 69 74 68 20 63 6f 75 | 6e 74 20 3d 20 31 20 74 |with cou|nt = 1 t|
|00004d90| 6f 20 4e 75 6d 62 65 72 | 4f 66 49 74 65 6d 73 0d |o Number|OfItems.|
|00004da0| 70 75 74 20 69 74 65 6d | 20 63 6f 75 6e 74 20 6f |put item| count o|
|00004db0| 66 20 4f 62 6a 65 63 74 | 4c 69 73 74 20 69 6e 74 |f Object|List int|
|00004dc0| 6f 20 6f 62 6a 65 63 74 | 0d 67 65 74 20 6c 6f 63 |o object|.get loc|
|00004dd0| 20 6f 66 20 6f 62 6a 65 | 63 74 0d 73 65 74 20 6c | of obje|ct.set l|
|00004de0| 6f 63 20 6f 66 20 6f 62 | 6a 65 63 74 20 74 6f 20 |oc of ob|ject to |
|00004df0| 28 64 65 6c 74 61 58 20 | 2b 20 69 74 65 6d 20 31 |(deltaX |+ item 1|
|00004e00| 20 6f 66 20 69 74 29 2c | 28 64 65 6c 74 61 59 20 | of it),|(deltaY |
|00004e10| 2b 20 69 74 65 6d 20 32 | 20 6f 66 20 69 74 29 0d |+ item 2| of it).|
|00004e20| 65 6e 64 20 72 65 70 65 | 61 74 0d 75 6e 6c 6f 63 |end repe|at.unloc|
|00004e30| 6b 20 73 63 72 65 65 6e | 0d 65 6e 64 20 69 66 0d |k screen|.end if.|
|00004e40| 65 6e 64 20 72 65 70 65 | 61 74 0d 75 6e 48 69 6c |end repe|at.unHil|
|00004e50| 69 74 65 50 61 6c 65 74 | 74 65 42 74 6e 0d 65 6e |itePalet|teBtn.en|
|00004e60| 64 20 6d 6f 76 65 4f 62 | 6a 65 63 74 73 0d 0d 6f |d moveOb|jects..o|
|00004e70| 6e 20 61 6c 69 67 6e 4f | 62 6a 65 63 74 73 0d 67 |n alignO|bjects.g|
|00004e80| 6c 6f 62 61 6c 20 4e 75 | 6d 62 65 72 4f 66 49 74 |lobal Nu|mberOfIt|
|00004e90| 65 6d 73 2c 4f 62 6a 65 | 63 74 4c 69 73 74 2c 57 |ems,Obje|ctList,W|
|00004ea0| 68 65 72 65 54 68 65 47 | 72 6f 75 70 49 73 0d 63 |hereTheG|roupIs.c|
|00004eb0| 68 65 63 6b 47 72 6f 75 | 70 0d 61 6e 73 77 65 72 |heckGrou|p.answer|
|00004ec0| 20 22 41 6c 69 67 6e 20 | 74 68 65 20 6f 62 6a 65 | "Align |the obje|
|00004ed0| 63 74 73 20 6f 66 20 74 | 68 65 20 67 72 6f 75 70 |cts of t|he group|
|00004ee0| 20 68 6f 72 69 7a 6f 6e | 74 61 6c 6c 79 20 6f 72 | horizon|tally or|
|00004ef0| 20 76 65 72 74 69 63 61 | 6c 6c 79 3f 22 20 77 69 | vertica|lly?" wi|
|00004f00| 74 68 20 22 56 65 72 74 | 22 20 6f 72 20 22 48 6f |th "Vert|" or "Ho|
|00004f10| 72 7a 22 20 6f 72 20 22 | 43 61 6e 63 65 6c 22 20 |rz" or "|Cancel" |
|00004f20| 2d 2d 20 c6 0d 69 66 20 | 28 28 69 74 20 69 73 20 |-- ..if |((it is |
|00004f30| 65 6d 70 74 79 29 20 6f | 72 20 28 69 74 20 69 73 |empty) o|r (it is|
|00004f40| 20 22 43 61 6e 63 65 6c | 22 29 29 20 74 68 65 6e | "Cancel|")) then|
|00004f50| 20 2d 2d 20 c6 0d 75 6e | 48 69 6c 69 74 65 50 61 | -- ..un|HilitePa|
|00004f60| 6c 65 74 74 65 42 74 6e | 0d 65 78 69 74 20 61 6c |letteBtn|.exit al|
|00004f70| 69 67 6e 4f 62 6a 65 63 | 74 73 0d 65 6e 64 20 69 |ignObjec|ts.end i|
|00004f80| 66 0d 69 66 20 69 74 20 | 69 73 20 22 48 6f 72 7a |f.if it |is "Horz|
|00004f90| 22 20 74 68 65 6e 20 61 | 6e 73 77 65 72 20 22 41 |" then a|nswer "A|
|00004fa0| 6c 69 67 6e 20 77 68 69 | 63 68 20 65 64 67 65 20 |lign whi|ch edge |
|00004fb0| 6f 66 20 74 68 65 20 6f | 62 6a 65 63 74 73 3f 22 |of the o|bjects?"|
|00004fc0| 20 77 69 74 68 20 22 52 | 69 67 68 74 22 20 6f 72 | with "R|ight" or|
|00004fd0| 20 22 4c 65 66 74 22 20 | 2d 2d 20 c6 0d 65 6c 73 | "Left" |-- ..els|
|00004fe0| 65 20 69 66 20 69 74 20 | 69 73 20 22 56 65 72 74 |e if it |is "Vert|
|00004ff0| 22 20 74 68 65 6e 20 61 | 6e 73 77 65 72 20 22 41 |" then a|nswer "A|
|00005000| 6c 69 67 6e 20 77 68 69 | 63 68 20 65 64 67 65 20 |lign whi|ch edge |
|00005010| 6f 66 20 74 68 65 20 6f | 62 6a 65 63 74 73 3f 22 |of the o|bjects?"|
|00005020| 20 77 69 74 68 20 22 42 | 6f 74 74 6f 6d 22 20 6f | with "B|ottom" o|
|00005030| 72 20 22 54 6f 70 22 20 | 2d 2d 20 c6 0d 67 6f 20 |r "Top" |-- ..go |
|00005040| 57 68 65 72 65 54 68 65 | 47 72 6f 75 70 49 73 0d |WhereThe|GroupIs.|
|00005050| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 61 6c 69 67 |put it i|nto alig|
|00005060| 6e 6d 65 6e 74 0d 73 65 | 74 20 63 75 72 73 6f 72 |nment.se|t cursor|
|00005070| 20 74 6f 20 63 72 6f 73 | 73 0d 77 61 69 74 20 75 | to cros|s.wait u|
|00005080| 6e 74 69 6c 20 74 68 65 | 20 6d 6f 75 73 65 43 6c |ntil the| mouseCl|
|00005090| 69 63 6b 0d 70 75 74 20 | 74 68 65 20 63 6c 69 63 |ick.put |the clic|
|000050a0| 6b 48 20 69 6e 74 6f 20 | 68 6f 72 7a 0d 70 75 74 |kH into |horz.put|
|000050b0| 20 74 68 65 20 63 6c 69 | 63 6b 56 20 69 6e 74 6f | the cli|ckV into|
|000050c0| 20 76 65 72 74 0d 6c 6f | 63 6b 20 73 63 72 65 65 | vert.lo|ck scree|
|000050d0| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 63 6f |n.repeat| with co|
|000050e0| 75 6e 74 20 3d 20 31 20 | 74 6f 20 4e 75 6d 62 65 |unt = 1 |to Numbe|
|000050f0| 72 4f 66 49 74 65 6d 73 | 0d 70 75 74 20 69 74 65 |rOfItems|.put ite|
|00005100| 6d 20 63 6f 75 6e 74 20 | 6f 66 20 4f 62 6a 65 63 |m count |of Objec|
|00005110| 74 4c 69 73 74 20 69 6e | 74 6f 20 63 75 72 49 74 |tList in|to curIt|
|00005120| 65 6d 0d 69 66 20 61 6c | 69 67 6e 6d 65 6e 74 20 |em.if al|ignment |
|00005130| 69 73 20 22 52 69 67 68 | 74 22 20 74 68 65 6e 20 |is "Righ|t" then |
|00005140| 73 65 74 20 72 69 67 68 | 74 20 6f 66 20 63 75 72 |set righ|t of cur|
|00005150| 49 74 65 6d 20 74 6f 20 | 68 6f 72 7a 20 2d 2d 20 |Item to |horz -- |
|00005160| c6 0d 65 6c 73 65 20 69 | 66 20 61 6c 69 67 6e 6d |..else i|f alignm|
|00005170| 65 6e 74 20 69 73 20 22 | 4c 65 66 74 22 20 74 68 |ent is "|Left" th|
|00005180| 65 6e 20 73 65 74 20 6c | 65 66 74 20 6f 66 20 63 |en set l|eft of c|
|00005190| 75 72 49 74 65 6d 20 74 | 6f 20 68 6f 72 7a 20 2d |urItem t|o horz -|
|000051a0| 2d 20 c6 0d 65 6c 73 65 | 20 69 66 20 61 6c 69 67 |- ..else| if alig|
|000051b0| 6e 6d 65 6e 74 20 69 73 | 20 22 54 6f 70 22 20 74 |nment is| "Top" t|
|000051c0| 68 65 6e 20 73 65 74 20 | 74 6f 70 20 6f 66 20 63 |hen set |top of c|
|000051d0| 75 72 49 74 65 6d 20 74 | 6f 20 76 65 72 74 20 2d |urItem t|o vert -|
|000051e0| 2d 20 c6 0d 65 6c 73 65 | 20 69 66 20 61 6c 69 67 |- ..else| if alig|
|000051f0| 6e 6d 65 6e 74 20 69 73 | 20 22 42 6f 74 74 6f 6d |nment is| "Bottom|
|00005200| 22 20 74 68 65 6e 20 73 | 65 74 20 62 6f 74 74 6f |" then s|et botto|
|00005210| 6d 20 6f 66 20 63 75 72 | 49 74 65 6d 20 74 6f 20 |m of cur|Item to |
|00005220| 76 65 72 74 20 2d 2d 20 | c6 0d 65 6e 64 20 72 65 |vert -- |..end re|
|00005230| 70 65 61 74 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |peat.unl|ock scre|
|00005240| 65 6e 0d 75 6e 48 69 6c | 69 74 65 50 61 6c 65 74 |en.unHil|itePalet|
|00005250| 74 65 42 74 6e 0d 65 6e | 64 20 61 6c 69 67 6e 4f |teBtn.en|d alignO|
|00005260| 62 6a 65 63 74 73 0d 0d | 6f 6e 20 73 70 61 63 65 |bjects..|on space|
|00005270| 4f 62 6a 65 63 74 73 0d | 67 6c 6f 62 61 6c 20 4e |Objects.|global N|
|00005280| 75 6d 62 65 72 4f 66 49 | 74 65 6d 73 2c 4f 62 6a |umberOfI|tems,Obj|
|00005290| 65 63 74 4c 69 73 74 2c | 57 68 65 72 65 54 68 65 |ectList,|WhereThe|
|000052a0| 47 72 6f 75 70 49 73 0d | 63 68 65 63 6b 47 72 6f |GroupIs.|checkGro|
|000052b0| 75 70 0d 61 6e 73 77 65 | 72 20 22 41 64 6a 75 73 |up.answe|r "Adjus|
|000052c0| 74 20 74 68 65 20 68 6f | 72 69 7a 6f 6e 74 61 6c |t the ho|rizontal|
|000052d0| 20 6f 72 20 76 65 72 74 | 69 63 61 6c 20 73 70 61 | or vert|ical spa|
|000052e0| 63 69 6e 67 20 62 65 74 | 77 65 65 6e 20 6f 62 6a |cing bet|ween obj|
|000052f0| 65 63 74 73 3f 22 20 77 | 69 74 68 20 22 56 65 72 |ects?" w|ith "Ver|
|00005300| 74 22 20 6f 72 20 22 48 | 6f 72 7a 22 20 6f 72 20 |t" or "H|orz" or |
|00005310| 22 43 61 6e 63 65 6c 22 | 20 2d 2d 20 c6 0d 69 66 |"Cancel"| -- ..if|
|00005320| 20 28 28 69 74 20 69 73 | 20 65 6d 70 74 79 29 20 | ((it is| empty) |
|00005330| 6f 72 20 28 69 74 20 69 | 73 20 22 43 61 6e 63 65 |or (it i|s "Cance|
|00005340| 6c 22 29 29 20 74 68 65 | 6e 20 2d 2d 20 c6 0d 75 |l")) the|n -- ..u|
|00005350| 6e 48 69 6c 69 74 65 50 | 61 6c 65 74 74 65 42 74 |nHiliteP|aletteBt|
|00005360| 6e 0d 65 78 69 74 20 73 | 70 61 63 65 4f 62 6a 65 |n.exit s|paceObje|
|00005370| 63 74 73 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 69 |cts.end |if.put i|
|00005380| 74 20 69 6e 74 6f 20 64 | 69 72 65 63 74 69 6f 6e |t into d|irection|
|00005390| 0d 61 73 6b 20 22 45 6e | 74 65 72 20 74 68 65 20 |.ask "En|ter the |
|000053a0| 64 69 73 74 61 6e 63 65 | 20 62 65 74 77 65 65 6e |distance| between|
|000053b0| 20 6f 62 6a 65 63 74 73 | 20 69 6e 20 70 69 78 65 | objects| in pixe|
|000053c0| 6c 73 3a 22 20 77 69 74 | 68 20 35 20 2d 2d 20 c6 |ls:" wit|h 5 -- .|
|000053d0| 0d 69 66 20 28 28 69 74 | 20 69 73 20 65 6d 70 74 |.if ((it| is empt|
|000053e0| 79 29 20 6f 72 20 28 74 | 68 65 20 72 65 73 75 6c |y) or (t|he resul|
|000053f0| 74 20 69 73 20 22 43 61 | 6e 63 65 6c 22 29 20 6f |t is "Ca|ncel") o|
|00005400| 72 20 28 69 74 20 69 73 | 20 6e 6f 74 20 61 6e 20 |r (it is| not an |
|00005410| 69 6e 74 65 67 65 72 29 | 29 20 74 68 65 6e 20 65 |integer)|) then e|
|00005420| 78 69 74 20 73 70 61 63 | 65 4f 62 6a 65 63 74 73 |xit spac|eObjects|
|00005430| 0d 70 75 74 20 61 62 73 | 28 69 74 29 20 69 6e 74 |.put abs|(it) int|
|00005440| 6f 20 73 70 61 63 69 6e | 67 0d 67 6f 20 57 68 65 |o spacin|g.go Whe|
|00005450| 72 65 54 68 65 47 72 6f | 75 70 49 73 0d 6c 6f 63 |reTheGro|upIs.loc|
|00005460| 6b 20 73 63 72 65 65 6e | 0d 72 65 70 65 61 74 20 |k screen|.repeat |
|00005470| 77 69 74 68 20 63 6f 75 | 6e 74 20 3d 20 32 20 74 |with cou|nt = 2 t|
|00005480| 6f 20 4e 75 6d 62 65 72 | 4f 66 49 74 65 6d 73 0d |o Number|OfItems.|
|00005490| 67 65 74 20 69 74 65 6d | 20 63 6f 75 6e 74 20 6f |get item| count o|
|000054a0| 66 20 4f 62 6a 65 63 74 | 4c 69 73 74 0d 69 66 20 |f Object|List.if |
|000054b0| 64 69 72 65 63 74 69 6f | 6e 20 69 73 20 22 48 6f |directio|n is "Ho|
|000054c0| 72 7a 22 20 2d 2d 20 c6 | 0d 74 68 65 6e 20 73 65 |rz" -- .|.then se|
|000054d0| 74 20 6c 65 66 74 20 6f | 66 20 69 74 20 74 6f 20 |t left o|f it to |
|000054e0| 28 6c 65 66 74 20 6f 66 | 20 69 74 65 6d 20 28 63 |(left of| item (c|
|000054f0| 6f 75 6e 74 20 2d 20 31 | 29 20 6f 66 20 4f 62 6a |ount - 1|) of Obj|
|00005500| 65 63 74 4c 69 73 74 29 | 20 2b 20 73 70 61 63 69 |ectList)| + spaci|
|00005510| 6e 67 0d 65 6c 73 65 20 | 73 65 74 20 74 6f 70 20 |ng.else |set top |
|00005520| 6f 66 20 69 74 20 74 6f | 20 28 74 6f 70 20 6f 66 |of it to| (top of|
|00005530| 20 69 74 65 6d 20 28 63 | 6f 75 6e 74 20 2d 20 31 | item (c|ount - 1|
|00005540| 29 20 6f 66 20 4f 62 6a | 65 63 74 4c 69 73 74 29 |) of Obj|ectList)|
|00005550| 20 2b 20 73 70 61 63 69 | 6e 67 0d 65 6e 64 20 72 | + spaci|ng.end r|
|00005560| 65 70 65 61 74 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |epeat.un|lock scr|
|00005570| 65 65 6e 0d 75 6e 48 69 | 6c 69 74 65 50 61 6c 65 |een.unHi|litePale|
|00005580| 74 74 65 42 74 6e 0d 65 | 6e 64 20 73 70 61 63 65 |tteBtn.e|nd space|
|00005590| 4f 62 6a 65 63 74 73 0d | 0d 6f 6e 20 64 75 70 6c |Objects.|.on dupl|
|000055a0| 69 63 61 74 65 4f 62 6a | 65 63 74 73 0d 67 6c 6f |icateObj|ects.glo|
|000055b0| 62 61 6c 20 4e 75 6d 62 | 65 72 4f 66 49 74 65 6d |bal Numb|erOfItem|
|000055c0| 73 2c 4f 62 6a 65 63 74 | 4c 69 73 74 2c 57 68 65 |s,Object|List,Whe|
|000055d0| 72 65 54 68 65 47 72 6f | 75 70 49 73 0d 63 68 65 |reTheGro|upIs.che|
|000055e0| 63 6b 47 72 6f 75 70 0d | 69 66 20 57 68 65 72 65 |ckGroup.|if Where|
|000055f0| 54 68 65 47 72 6f 75 70 | 49 73 20 69 73 20 65 6d |TheGroup|Is is em|
|00005600| 70 74 79 0d 74 68 65 6e | 20 66 61 69 6c 20 22 59 |pty.then| fail "Y|
|00005610| 6f 75 20 6e 65 65 64 20 | 74 6f 20 63 6f 70 79 20 |ou need |to copy |
|00005620| 61 20 67 72 6f 75 70 20 | 62 65 66 6f 72 65 20 79 |a group |before y|
|00005630| 6f 75 20 63 61 6e 20 70 | 61 73 74 65 20 69 74 2e |ou can p|aste it.|
|00005640| 22 20 2d 2d 20 c6 0d 61 | 6e 73 77 65 72 20 22 44 |" -- ..a|nswer "D|
|00005650| 75 70 6c 69 63 61 74 65 | 20 74 68 65 20 63 75 72 |uplicate| the cur|
|00005660| 72 65 6e 74 20 67 72 6f | 75 70 3f 22 20 77 69 74 |rent gro|up?" wit|
|00005670| 68 20 22 43 61 6e 63 65 | 6c 22 20 6f 72 20 22 4f |h "Cance|l" or "O|
|00005680| 4b 22 20 2d 2d 20 c6 0d | 69 66 20 69 74 20 ad 20 |K" -- ..|if it . |
|00005690| 22 4f 4b 22 20 74 68 65 | 6e 20 65 78 69 74 20 64 |"OK" the|n exit d|
|000056a0| 75 70 6c 69 63 61 74 65 | 4f 62 6a 65 63 74 73 20 |uplicate|Objects |
|000056b0| 2d 2d 20 c6 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |-- ..set| cursor |
|000056c0| 74 6f 20 77 61 74 63 68 | 0d 73 65 74 20 6c 6f 63 |to watch|.set loc|
|000056d0| 6b 4d 65 73 73 61 67 65 | 73 20 74 6f 20 74 72 75 |kMessage|s to tru|
|000056e0| 65 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 72 65 |e.lock s|creen.re|
|000056f0| 70 65 61 74 20 77 69 74 | 68 20 63 6f 75 6e 74 20 |peat wit|h count |
|00005700| 3d 20 4e 75 6d 62 65 72 | 4f 66 49 74 65 6d 73 20 |= Number|OfItems |
|00005710| 64 6f 77 6e 20 74 6f 20 | 31 0d 70 75 73 68 20 74 |down to |1.push t|
|00005720| 68 69 73 20 63 61 72 64 | 0d 67 6f 20 74 6f 20 57 |his card|.go to W|
|00005730| 68 65 72 65 54 68 65 47 | 72 6f 75 70 49 73 0d 70 |hereTheG|roupIs.p|
|00005740| 75 74 20 69 74 65 6d 20 | 63 6f 75 6e 74 20 6f 66 |ut item |count of|
|00005750| 20 4f 62 6a 65 63 74 4c | 69 73 74 20 69 6e 74 6f | ObjectL|ist into|
|00005760| 20 6f 62 6a 65 63 74 0d | 69 66 20 77 6f 72 64 20 | object.|if word |
|00005770| 32 20 6f 66 20 6f 62 6a | 65 63 74 20 69 73 20 22 |2 of obj|ect is "|
|00005780| 66 6c 64 22 20 74 68 65 | 6e 20 70 75 74 20 74 68 |fld" the|n put th|
|00005790| 65 20 76 61 6c 75 65 20 | 6f 66 20 6f 62 6a 65 63 |e value |of objec|
|000057a0| 74 20 69 6e 74 6f 20 63 | 6f 70 79 4f 66 54 65 78 |t into c|opyOfTex|
|000057b0| 74 0d 73 65 6c 65 63 74 | 20 6f 62 6a 65 63 74 0d |t.select| object.|
|000057c0| 74 79 70 65 20 22 43 22 | 20 77 69 74 68 20 63 6f |type "C"| with co|
|000057d0| 6d 6d 61 6e 64 4b 65 79 | 0d 70 6f 70 20 63 61 72 |mmandKey|.pop car|
|000057e0| 64 0d 73 65 74 20 65 64 | 69 74 42 6b 67 6e 64 20 |d.set ed|itBkgnd |
|000057f0| 74 6f 20 28 77 6f 72 64 | 20 31 20 6f 66 20 6f 62 |to (word| 1 of ob|
|00005800| 6a 65 63 74 20 3d 20 22 | 62 67 22 29 0d 74 79 70 |ject = "|bg").typ|
|00005810| 65 20 22 56 22 20 77 69 | 74 68 20 63 6f 6d 6d 61 |e "V" wi|th comma|
|00005820| 6e 64 4b 65 79 0d 69 66 | 20 77 6f 72 64 20 32 20 |ndKey.if| word 2 |
|00005830| 6f 66 20 6f 62 6a 65 63 | 74 20 69 73 20 22 66 6c |of objec|t is "fl|
|00005840| 64 22 20 74 68 65 6e 0d | 69 66 20 77 6f 72 64 20 |d" then.|if word |
|00005850| 31 20 6f 66 20 6f 62 6a | 65 63 74 20 69 73 20 22 |1 of obj|ect is "|
|00005860| 62 67 22 0d 74 68 65 6e | 20 70 75 74 20 63 6f 70 |bg".then| put cop|
|00005870| 79 4f 66 54 65 78 74 20 | 69 6e 74 6f 20 62 67 20 |yOfText |into bg |
|00005880| 66 6c 64 20 28 74 68 65 | 20 6e 75 6d 62 65 72 20 |fld (the| number |
|00005890| 6f 66 20 62 67 20 66 6c | 64 73 29 0d 65 6c 73 65 |of bg fl|ds).else|
|000058a0| 20 70 75 74 20 63 6f 70 | 79 4f 66 54 65 78 74 20 | put cop|yOfText |
|000058b0| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 28 74 68 65 |into cd |fld (the|
|000058c0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 61 72 64 20 | number |of card |
|000058d0| 66 6c 64 73 29 0d 65 6e | 64 20 69 66 0d 65 6e 64 |flds).en|d if.end|
|000058e0| 20 72 65 70 65 61 74 0d | 75 6e 6c 6f 63 6b 20 73 | repeat.|unlock s|
|000058f0| 63 72 65 65 6e 0d 75 6e | 48 69 6c 69 74 65 50 61 |creen.un|HilitePa|
|00005900| 6c 65 74 74 65 42 74 6e | 0d 63 68 6f 6f 73 65 20 |letteBtn|.choose |
|00005910| 62 72 6f 77 73 65 20 74 | 6f 6f 6c 0d 61 6e 73 77 |browse t|ool.answ|
|00005920| 65 72 20 22 4f 62 6a 65 | 63 74 73 20 64 75 70 6c |er "Obje|cts dupl|
|00005930| 69 63 61 74 65 64 2e 22 | 20 2d 2d 20 c6 0d 65 6e |icated."| -- ..en|
|00005940| 64 20 64 75 70 6c 69 63 | 61 74 65 4f 62 6a 65 63 |d duplic|ateObjec|
|00005950| 74 73 0d 0d 6f 6e 20 64 | 65 6c 65 74 65 4f 62 6a |ts..on d|eleteObj|
|00005960| 65 63 74 73 0d 67 6c 6f | 62 61 6c 20 4e 75 6d 62 |ects.glo|bal Numb|
|00005970| 65 72 4f 66 49 74 65 6d | 73 2c 4f 62 6a 65 63 74 |erOfItem|s,Object|
|00005980| 4c 69 73 74 2c 57 68 65 | 72 65 54 68 65 47 72 6f |List,Whe|reTheGro|
|00005990| 75 70 49 73 0d 63 68 65 | 63 6b 47 72 6f 75 70 0d |upIs.che|ckGroup.|
|000059a0| 61 6e 73 77 65 72 20 22 | 44 65 6c 65 74 65 20 74 |answer "|Delete t|
|000059b0| 68 65 20 63 75 72 72 65 | 6e 74 20 67 72 6f 75 70 |he curre|nt group|
|000059c0| 3f 22 20 77 69 74 68 20 | 22 4f 4b 22 20 6f 72 20 |?" with |"OK" or |
|000059d0| 22 43 61 6e 63 65 6c 22 | 20 2d 2d 20 c6 0d 69 66 |"Cancel"| -- ..if|
|000059e0| 20 28 69 74 20 ad 20 22 | 4f 4b 22 29 20 74 68 65 | (it . "|OK") the|
|000059f0| 6e 20 2d 2d 20 c6 0d 75 | 6e 48 69 6c 69 74 65 50 |n -- ..u|nHiliteP|
|00005a00| 61 6c 65 74 74 65 42 74 | 6e 0d 65 78 69 74 20 64 |aletteBt|n.exit d|
|00005a10| 65 6c 65 74 65 4f 62 6a | 65 63 74 73 0d 65 6e 64 |eleteObj|ects.end|
|00005a20| 20 69 66 0d 67 6f 20 57 | 68 65 72 65 54 68 65 47 | if.go W|hereTheG|
|00005a30| 72 6f 75 70 49 73 0d 63 | 68 6f 6f 73 65 20 62 75 |roupIs.c|hoose bu|
|00005a40| 74 74 6f 6e 20 74 6f 6f | 6c 0d 6c 6f 63 6b 20 73 |tton too|l.lock s|
|00005a50| 63 72 65 65 6e 0d 72 65 | 70 65 61 74 20 77 69 74 |creen.re|peat wit|
|00005a60| 68 20 63 6f 75 6e 74 20 | 3d 20 31 20 74 6f 20 4e |h count |= 1 to N|
|00005a70| 75 6d 62 65 72 4f 66 49 | 74 65 6d 73 0d 67 65 74 |umberOfI|tems.get|
|00005a80| 20 69 74 65 6d 20 63 6f | 75 6e 74 20 6f 66 20 4f | item co|unt of O|
|00005a90| 62 6a 65 63 74 4c 69 73 | 74 0d 73 65 6c 65 63 74 |bjectLis|t.select|
|00005aa0| 20 69 74 0d 74 79 70 65 | 20 6e 75 6d 54 6f 43 68 | it.type| numToCh|
|00005ab0| 61 72 28 38 29 20 20 2d | 2d 20 c6 20 64 65 6c 65 |ar(8) -|- . dele|
|00005ac0| 74 65 20 6b 65 79 0d 65 | 6e 64 20 72 65 70 65 61 |te key.e|nd repea|
|00005ad0| 74 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |t.unlock| screen.|
|00005ae0| 75 6e 48 69 6c 69 74 65 | 50 61 6c 65 74 74 65 42 |unHilite|PaletteB|
|00005af0| 74 6e 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |tn.put e|mpty int|
|00005b00| 6f 20 4f 62 6a 65 63 74 | 4c 69 73 74 0d 70 75 74 |o Object|List.put|
|00005b10| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 4e 75 6d 62 | empty i|nto Numb|
|00005b20| 65 72 4f 66 49 74 65 6d | 73 0d 70 75 74 20 65 6d |erOfItem|s.put em|
|00005b30| 70 74 79 20 69 6e 74 6f | 20 57 68 65 72 65 54 68 |pty into| WhereTh|
|00005b40| 65 47 72 6f 75 70 49 73 | 0d 63 68 6f 6f 73 65 20 |eGroupIs|.choose |
|00005b50| 62 72 6f 77 73 65 20 74 | 6f 6f 6c 0d 65 6e 64 20 |browse t|ool.end |
|00005b60| 64 65 6c 65 74 65 4f 62 | 6a 65 63 74 73 0d 0d a5 |deleteOb|jects...|
|00005b70| a5 a5 a5 a5 a5 a5 a5 a5 | a5 a5 a5 20 45 4e 44 20 |........|... END |
|00005b80| 4f 46 20 22 53 55 50 45 | 52 20 47 52 4f 55 50 45 |OF "SUPE|R GROUPE|
|00005b90| 52 22 20 48 41 4e 44 4c | 45 52 53 20 46 52 4f 4d |R" HANDL|ERS FROM|
|00005ba0| 20 22 50 4f 57 45 52 20 | 54 4f 4f 4c 53 22 20 53 | "POWER |TOOLS" S|
|00005bb0| 54 41 43 4b 20 a5 a5 a5 | a5 a5 a5 a5 a5 a5 a5 a5 |TACK ...|........|
|00005bc0| a5 a5 a5 a5 0d 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c80| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00005c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ca0| 00 03 56 21 00 02 f0 df | 00 03 34 b1 00 03 63 7d |..V!....|..4...c}|
|00005cb0| 00 04 aa 0d 00 04 af 3d | 00 04 4f d4 00 02 f4 bf |.......=|..O.....|
|00005cc0| 00 04 93 cf 00 04 48 4c | 00 00 00 00 00 00 00 00 |......HL|........|
|00005cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e80| 00 00 00 80 4c 49 53 54 | 00 00 09 df 00 00 00 00 |....LIST|........|
|00005e90| 00 00 00 01 00 00 08 00 | 00 00 00 03 00 68 00 02 |........|.....h..|
|00005ea0| 00 19 00 03 e0 00 01 fa | 00 00 00 03 00 00 00 00 |........|........|
|00005eb0| 00 00 0f bf 00 03 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f00| 00 00 08 00 50 41 47 45 | 00 00 0f bf 00 00 00 00 |....PAGE|........|
|00005f10| 00 00 09 df ee 80 02 5a | 00 00 0b 7d 60 7f f3 e7 |.......Z|...}`...|
|00005f20| ef 7d 6d b1 be 75 ef f5 | 7d bd f3 fb ff ff 7d ff |.}m..u..|}.....}.|
|00005f30| af bd ef e9 54 ce ee a9 | df f3 f8 df 7d ed 6c b7 |....T...|....}.l.|
|00005f40| ee fc ff fd fd c3 39 dd | 8d fe 9b 9f 7d ef 6b 4e |......9.|....}.kN|
|00005f50| c2 b3 ff b3 f5 ff db de | d6 ab d7 f3 de 78 fb ef |........|.....x..|
|00005f60| ef eb 5f ad af 7d 7e cf | 77 f7 ff 7a f7 ea f0 7e |.._..}~.|w..z...~|
|00005f70| ef ed 3f f3 cd ff fe ff | ef 7e f4 fd bf fd ff 50 |..?.....|.~.....P|
|00005f80| 00 00 0e d4 20 09 22 e5 | 46 18 20 03 94 04 08 10 |.... .".|F. .....|
|00005f90| 49 08 82 10 01 0a 10 90 | 00 a8 0c 41 00 46 60 89 |I.......|...A.F`.|
|00005fa0| 12 83 70 80 44 80 00 00 | 04 50 23 19 08 82 09 85 |..p.D...|.P#.....|
|00005fb0| 85 c6 00 8e 01 28 0a 04 | 40 31 00 00 04 22 40 04 |.....(..|@1..."@.|
|00005fc0| 02 a1 00 00 42 10 28 25 | 04 41 0a 04 22 00 32 83 |....B.(%|.A..".2.|
|00005fd0| 64 a1 00 00 10 2a 00 64 | 8e 01 0e 90 04 80 00 40 |d....*.d|.......@|
|00005fe0| e1 50 10 a1 11 4d 10 10 | 00 00 10 cf 20 00 00 04 |.P...M..|.... ...|
|00005ff0| 00 00 04 00 80 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006000| 01 80 00 00 00 00 00 00 | 02 00 20 00 04 80 00 00 |........|.. .....|
|00006010| 00 00 00 00 00 02 20 00 | 80 00 00 08 00 00 00 04 |...... .|........|
|00006020| 00 20 00 00 00 00 40 00 | 00 01 04 00 40 20 00 00 |. ....@.|....@ ..|
|00006030| 00 00 00 00 00 00 00 00 | 20 20 00 00 04 02 00 00 |........| ......|
|00006040| 02 00 00 00 00 00 00 00 | 01 00 00 04 00 04 00 00 |........|........|
|00006050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.